diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-06-29 03:34:41 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-06-29 03:34:41 +0800 |
| commit | ba15b7c06468cb6c52c8d2a53419fd83f9ebcb8b (patch) | |
| tree | cdaa1c71585d10dd73945cefe95f2c25f27924ed | |
| parent | ff70307869a547b13850d1eec3f72e8ca3bca265 (diff) | |
refactor: promote project to workspace with macros sub-crate
| -rw-r--r-- | Cargo.toml | 20 | ||||
| -rw-r--r-- | just_template/Cargo.lock (renamed from Cargo.lock) | 0 | ||||
| -rw-r--r-- | just_template/Cargo.toml | 13 | ||||
| -rw-r--r-- | just_template/src/deprecated.rs (renamed from src/deprecated.rs) | 0 | ||||
| -rw-r--r-- | just_template/src/expand.rs (renamed from src/expand.rs) | 0 | ||||
| -rw-r--r-- | just_template/src/lib.rs (renamed from src/lib.rs) | 0 | ||||
| -rw-r--r-- | just_template/src/template.rs (renamed from src/template.rs) | 0 | ||||
| -rw-r--r-- | just_template/src/test.rs (renamed from src/test.rs) | 0 |
8 files changed, 22 insertions, 11 deletions
@@ -1,13 +1,11 @@ -[package] -name = "just_template" -authors = ["Weicao-CatilGrass"] -description = "a tool for code gen via templates" +[workspace] +members = [ + "just_template", + "just_template_macros", +] + +[workspace.package] version = "0.2.0" +description = "A tool for code gen via templatese" +authors = ["Weicao-CatilGrass <catil_grass@qq.com>"] edition = "2024" - -readme = "README.md" -license = "MIT OR Apache-2.0" -repository = "https://github.com/catilgrass/just_template" - -[dependencies] -just_fmt = "0.1.2" diff --git a/Cargo.lock b/just_template/Cargo.lock index d6a39f0..d6a39f0 100644 --- a/Cargo.lock +++ b/just_template/Cargo.lock diff --git a/just_template/Cargo.toml b/just_template/Cargo.toml new file mode 100644 index 0000000..66217b4 --- /dev/null +++ b/just_template/Cargo.toml @@ -0,0 +1,13 @@ +[package] +name = "just_template" +version.workspace = true +description.workspace = true +authors.workspace = true +edition.workspace = true + +readme = "README.md" +license = "MIT OR Apache-2.0" +repository = "https://github.com/catilgrass/just_template" + +[dependencies] +just_fmt = "0.1.2" diff --git a/src/deprecated.rs b/just_template/src/deprecated.rs index b218969..b218969 100644 --- a/src/deprecated.rs +++ b/just_template/src/deprecated.rs diff --git a/src/expand.rs b/just_template/src/expand.rs index b609113..b609113 100644 --- a/src/expand.rs +++ b/just_template/src/expand.rs diff --git a/src/lib.rs b/just_template/src/lib.rs index 7ff77f5..7ff77f5 100644 --- a/src/lib.rs +++ b/just_template/src/lib.rs diff --git a/src/template.rs b/just_template/src/template.rs index e368917..e368917 100644 --- a/src/template.rs +++ b/just_template/src/template.rs diff --git a/src/test.rs b/just_template/src/test.rs index ca7b357..ca7b357 100644 --- a/src/test.rs +++ b/just_template/src/test.rs |
