cargo workspace management
Cargo Check, Format, Fix and Test / cargo CI (push) Failing after 41s Details

This commit is contained in:
Christoph J. Scherr 2024-01-17 14:05:07 +01:00
parent 4d390c3227
commit b179693399
Signed by: cscherrNT
GPG Key ID: 8E2B45BC51A27EA7
1 changed files with 8 additions and 14 deletions

View File

@ -29,12 +29,10 @@ categories = [
anyhow = "1.0.79" anyhow = "1.0.79"
thiserror = "1.0.56" thiserror = "1.0.56"
libpt-core = { version = "0.2.0-alpha.2", path = "members/libpt-core", registry = "cscherr" } libpt-core = { version = "0.2.0-alpha.2", path = "members/libpt-core", registry = "cscherr" }
libpt-bintols = { version = "0.2.0-alpha.2", path = "members/libpt-bintols", registry = "cscherr", optional = true } libpt-bintols = { version = "0.2.0-alpha.2", path = "members/libpt-bintols", registry = "cscherr" }
libpt-hedu = { version = "0.2.0-alpha.2", path = "members/libpt-hedu", registry = "cscherr", optional = true } libpt-log = { version = "0.2.0-alpha.2", path = "members/libpt-log", registry = "cscherr" }
libpt-log = { version = "0.2.0-alpha.2", path = "members/libpt-log", registry = "cscherr", optional = true } libpt-math = { version = "0.2.0-alpha.2", path = "members/libpt-math", registry = "cscherr" }
libpt-math = { version = "0.2.0-alpha.2", path = "members/libpt-math", registry = "cscherr", optional = true } libpt-net = { version = "0.2.0-alpha.2", path = "members/libpt-net", registry = "cscherr" }
libpt-ccc = { version = "0.2.0-alpha.2", path = "members/libpt-ccc", registry = "cscherr", optional = true }
libpt-net = { version = "0.2.0-alpha.2", path = "members/libpt-net", registry = "cscherr", optional = true }
[package] [package]
name = "libpt" name = "libpt"
@ -52,13 +50,11 @@ categories.workspace = true
[features] [features]
default = ["log", "core"] default = ["log", "core"]
all = ["default", "math", "log", "bintols", "net", "ccc", "hedu", "core"]
core = [] core = []
math = ["dep:libpt-math"] math = []
log = ["dep:libpt-log"] log = []
bintols = ["dep:libpt-bintols"] bintols = []
net = ["dep:libpt-net"] net = []
ccc = ["math"]
bin = ["bintols", "math", "dep:clap", "dep:clap-num", "dep:clap-verbosity-flag"] bin = ["bintols", "math", "dep:clap", "dep:clap-num", "dep:clap-verbosity-flag"]
[lib] [lib]
@ -81,10 +77,8 @@ path = "src/hedu/mod.rs"
[dependencies] [dependencies]
libpt-core = { workspace = true } libpt-core = { workspace = true }
libpt-bintols = { workspace = true } libpt-bintols = { workspace = true }
libpt-hedu = { workspace = true }
libpt-log = { workspace = true } libpt-log = { workspace = true }
libpt-math = { workspace = true } libpt-math = { workspace = true }
libpt-ccc = { workspace = true }
libpt-net = { workspace = true } libpt-net = { workspace = true }
clap = { version = "4.4.4", features = ["derive"], optional = true } clap = { version = "4.4.4", features = ["derive"], optional = true }
clap-num = { version = "1.0.2", optional = true } clap-num = { version = "1.0.2", optional = true }