chore: Remove feature flags
This commit is contained in:
parent
33bebb5e29
commit
f67dea41a3
23 changed files with 69 additions and 305 deletions
65
Cargo.toml
65
Cargo.toml
|
|
@ -11,13 +11,13 @@ version = "0.9.12"
|
|||
|
||||
[workspace.dependencies]
|
||||
bon = "3"
|
||||
cached = "0.55"
|
||||
cached = { version = "0.55", features = ["async"]}
|
||||
chrono = "0.4"
|
||||
clap = "4"
|
||||
colored = "2"
|
||||
comlexr = "1"
|
||||
indexmap = { version = "2", features = ["serde"] }
|
||||
indicatif = { version = "0.17", features = ["improved_unicode"] }
|
||||
indicatif = { version = "0.17", features = ["improved_unicode", "rayon"] }
|
||||
log = "0.4"
|
||||
miette = "7"
|
||||
nix = { version = "0.29" }
|
||||
|
|
@ -73,16 +73,16 @@ clap-verbosity-flag = "3"
|
|||
clap_complete = "4"
|
||||
clap_complete_nushell = "4"
|
||||
fuzzy-matcher = "0.3"
|
||||
jsonschema = { version = "0.30", optional = true }
|
||||
jsonschema = "0.30"
|
||||
open = "5"
|
||||
os_info = "3"
|
||||
rayon = { version = "1", optional = true }
|
||||
regex = { version = "1", optional = true }
|
||||
rayon = "1"
|
||||
regex = "1"
|
||||
requestty = { version = "0.5", features = ["macros", "termion"] }
|
||||
shadow-rs = { version = "1", default-features = false }
|
||||
thiserror = "2"
|
||||
urlencoding = "2"
|
||||
yaml-rust2 = { version = "0.10", optional = true }
|
||||
yaml-rust2 = "0.10"
|
||||
|
||||
cached.workspace = true
|
||||
clap = { workspace = true, features = ["derive", "cargo", "unicode", "env"] }
|
||||
|
|
@ -98,56 +98,15 @@ semver.workspace = true
|
|||
serde.workspace = true
|
||||
serde_json.workspace = true
|
||||
serde_yaml.workspace = true
|
||||
syntect = { workspace = true, optional = true }
|
||||
syntect.workspace = true
|
||||
tempfile.workspace = true
|
||||
tokio = { workspace = true, optional = true }
|
||||
tokio.workspace = true
|
||||
bon.workspace = true
|
||||
users.workspace = true
|
||||
|
||||
[features]
|
||||
# Top level features
|
||||
default = [
|
||||
"v0_9_0"
|
||||
]
|
||||
|
||||
# v0.9.0 features
|
||||
v0_9_0 = [
|
||||
"init",
|
||||
"stages",
|
||||
"copy",
|
||||
"iso",
|
||||
"switch",
|
||||
"login",
|
||||
"validate",
|
||||
"sigstore",
|
||||
"multi-recipe",
|
||||
"prune",
|
||||
"rechunk",
|
||||
]
|
||||
init = []
|
||||
stages = ["blue-build-recipe/stages"]
|
||||
copy = ["blue-build-recipe/copy"]
|
||||
multi-recipe = ["dep:rayon", "indicatif/rayon"]
|
||||
iso = []
|
||||
switch = []
|
||||
sigstore = ["blue-build-process-management/sigstore"]
|
||||
login = []
|
||||
validate = [
|
||||
"dep:jsonschema",
|
||||
"dep:rayon",
|
||||
"dep:tokio",
|
||||
"dep:yaml-rust2",
|
||||
"dep:syntect",
|
||||
"dep:regex",
|
||||
"cached/async",
|
||||
"blue-build-process-management/validate"
|
||||
]
|
||||
prune = [
|
||||
"blue-build-process-management/prune"
|
||||
]
|
||||
rechunk = [
|
||||
"blue-build-process-management/rechunk"
|
||||
]
|
||||
default = []
|
||||
|
||||
[dev-dependencies]
|
||||
rusty-hook = "0.11"
|
||||
|
|
@ -166,3 +125,9 @@ codegen-units = 1
|
|||
strip = "none"
|
||||
debug = false
|
||||
panic = "abort"
|
||||
|
||||
[profile.dev]
|
||||
debug = false
|
||||
|
||||
[profile.test]
|
||||
debug = "line-tables-only"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue