Split yunq compliation to library and use it in build process.
This commit is contained in:
parent
370ba9ae40
commit
1e073d5060
7 changed files with 89 additions and 28 deletions
|
|
@ -1,12 +1,20 @@
|
|||
[package]
|
||||
name = "yunq"
|
||||
name = "yunqc"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.5.7", features = ["derive"] }
|
||||
convert_case = "0.6.0"
|
||||
prettyplease = "0.2.20"
|
||||
proc-macro2 = { version = "1.0" }
|
||||
quote = { version = "1.0" }
|
||||
syn = "2.0.72"
|
||||
|
||||
clap = { version = "4.5.7", features = ["derive"], optional = true}
|
||||
|
||||
[features]
|
||||
build-binary = ["clap"]
|
||||
|
||||
[[bin]]
|
||||
name = "yunqc"
|
||||
required-features = ["build-binary"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue