Refactor Generator per-target emission into modules (#59) #64
No reviewers
Labels
No labels
prio_critical
prio_low
type_bug
type_contact
type_issue
type_lead
type_question
type_story
type_task
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lhumina_code/hero_blueprint!64
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "issue-59-generate-modular"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #59.
Splits
crates/generator/src/generate.rs(1785 LOC) into 12 per-target modules undergenerate/:rust_types,rust_server,rust_rpc(legacy),openrpc,js,rhai,python(stub), plus auxiliary (examples,e2e,tests_emit,wasm_build_script). All files ≤500 LOC. Byte-identical output:diff -r baseline/recipes example/recipe_server/src/recipesempty,diff -r baseline/petstore_src example/petstore_server/srcempty.cargo test -p hero_rpc_generator --lib: 125 passed. Generator public API unchanged.