mirror of
https://gitlab.cern.ch/wotsubo/endcap-sl-software-ri-generator.git
synced 2025-06-29 16:19:26 +09:00
refactor: loosen dep compat & separate bin as feature
This commit is contained in:
parent
3fc6bd14fe
commit
25dba869db
3 changed files with 19 additions and 17 deletions
21
Cargo.toml
21
Cargo.toml
|
@ -10,28 +10,31 @@ build = "build.rs"
|
|||
[[bin]]
|
||||
name = "endcap-sl-software-ri-generator"
|
||||
path = "src/main.rs"
|
||||
required-features = ["bin"]
|
||||
|
||||
[lib]
|
||||
name = "endcap_sl_software_ri_generator"
|
||||
path = "src/lib.rs"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.95"
|
||||
chrono = "0.4.39"
|
||||
clap = { version = "4.5.28", features = ["derive"] }
|
||||
env_logger = "0.11.6"
|
||||
anyhow = { version = "1.0", optional = true }
|
||||
chrono = "0.4"
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
env_logger = { version = "0.11", optional = true }
|
||||
heck = "0.5"
|
||||
hex = "0.4.3"
|
||||
hex = "0.4"
|
||||
itertools = "0.14"
|
||||
log = "0.4"
|
||||
prettyplease = "0.2"
|
||||
proc-macro2 = "1.0.93"
|
||||
proc-macro2 = "1.0"
|
||||
quote = "1.0"
|
||||
roxmltree = "0.20"
|
||||
sha2 = "0.10"
|
||||
syn = "2.0.96"
|
||||
syn = "2.0"
|
||||
thiserror = "2.0"
|
||||
typenum = "1.17.0"
|
||||
|
||||
[build-dependencies]
|
||||
vergen-gitcl = { version = "1.0.0", features = ["build", "cargo", "rustc", "si"] }
|
||||
vergen-gitcl = { version = "1.0", features = ["build", "cargo", "rustc", "si"] }
|
||||
|
||||
[features]
|
||||
bin = ["anyhow", "env_logger"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue