-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
69 lines (61 loc) · 1.88 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[package]
name = "zepter"
version = "1.5.1"
edition = "2021"
authors = [ "Oliver Tale-Yazdi" ]
description = "Analyze, Fix and Format features in your Rust workspace."
license = "GPL-3.0-only"
repository = "https://github.com/ggwpez/zepter"
# Update the README if you change this:
rust-version = "1.74"
[[bin]]
name = "zepter"
[[bench]]
name = "dag"
harness = false
required-features = [ "benchmarking" ]
[dependencies]
anyhow = { version = "1.0.89", optional = true }
assert_cmd = { version = "2.0.16", optional = true }
camino = "1.1.9"
cargo_metadata = "0.18.1"
clap = { version = "4.5.13", features = ["derive", "cargo"] }
colour = { version = "2.1.0", optional = true }
criterion = { version = "0.5", optional = true }
env_logger = { version = "0.11.5", features = [ "auto-color", "humantime" ], optional = true }
histo = { version = "1.0.0", optional = true }
itertools = "0.13.0"
log = { version = "0.4.22", optional = true }
regex = "1.11.0"
semver = "1"
serde = "1.0.210"
serde_json = { version = "1.0.128", optional = true }
serde_yaml = "0.9.34"
tempfile = { version = "3.13.0", optional = true }
toml_edit = "0.22.16"
tracing = { version = "0.1.40", optional = true }
[dev-dependencies]
glob = "0.3.1"
lazy_static = "1.5.0"
pretty_assertions = "1.4.1"
rand = "0.8.5"
rstest = "0.22.0"
serde = "1.0.210"
zepter = { path = ".", features = ["testing"] }
[features]
default = [ "logging" ]
logging = [ "dep:env_logger", "dep:log" ]
benchmarking = [ "dep:criterion", "dep:serde_json" ]
testing = [ "dep:anyhow", "dep:assert_cmd", "dep:colour", "dep:tempfile", "dep:serde_json" ]
debugging = [ "dep:histo" ]
[profile.dev]
opt-level = 3
[profile.release]
opt-level = 3
debug = true
# Improves speed of the DAG logic by 4-20%. Normally `cargo metadata` is magnitudes slower, so we
# dont sacrifice (human) compile time for this negligible speedup.
[profile.optimized]
inherits = "release"
lto = true
codegen-units = 1