diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-02-04 00:27:16 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-02-04 00:27:16 +0800 |
| commit | d19e5d84ee21502fd3440511d4ffb1ee1f49d3b2 (patch) | |
| tree | fb8efef6f8e9a26c5b60d4ac220b11d6c6f0775e /.cargo/registry.toml | |
| parent | 7ee0d3f20c875e7405bb8442c5eb0228d1599a03 (diff) | |
Refactor build system and implement complete renderer system
- Split monolithic build.rs into modular async generators
- Add renderer override system with type-safe dispatch
- Implement command template macro for consistent command definitions
- Add proc-macro crates for command and renderer systems
- Reorganize directory structure for better separation of concerns
- Update documentation to reflect new architecture
Diffstat (limited to '.cargo/registry.toml')
| -rw-r--r-- | .cargo/registry.toml | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/.cargo/registry.toml b/.cargo/registry.toml index c1a712d..9077c4b 100644 --- a/.cargo/registry.toml +++ b/.cargo/registry.toml @@ -16,19 +16,14 @@ # Only register renderers here that need to be overridden using the `--renderer` flag. # After registration, you can use the format `command --renderer renderer_name` to override the renderer. -# Default Renderer -[renderer.default] -name = "default" -type = "Renderer" - # Json Renderer [renderer.json] name = "json" -type = "crate::cmds::renderer::json::JVResultJsonRenderer" +type = "crate::cmds::r#override::renderer::json" [renderer.json_pretty] name = "json-pretty" -type = "crate::cmds::renderer::json_pretty::JVResultPrettyJsonRenderer" +type = "crate::cmds::r#override::renderer::json_pretty" #################### ### Auto-Collect ### @@ -51,3 +46,6 @@ path = "src/cmds/out.rs" [collect.renderers] path = "src/cmds/renderer.rs" + +[collect.override_renderers] +path = "src/cmds/override/renderer.rs" |
