Skip to content

Commit

Permalink
chore(deps): Switch to workspace dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
VorpalBlade committed Mar 21, 2024
1 parent 325b373 commit d79b280
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 45 deletions.
34 changes: 34 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,40 @@
members = ["crates/*"]
resolver = "2"

[workspace.dependencies]
ahash = "0.8.11"
anyhow = "1.0.81"
bitflags = "2.4.2"
bstr = "1.9.1"
clap = "4.5.3"
clap_complete = "4.5.1"
clap_mangen = "0.2.20"
compact_str = "0.7.1"
dashmap = "5.5.3"
derive_builder = "0.20.0"
either = "1.10.0"
env_logger = "0.11.3"
faster-hex = { version = "0.9.0", default-features = false }
flate2 = "1.0.28"
flume = { version = "0.11.0", default-features = false }
ignore = "0.4.22"
indoc = "2.0.4"
lasso = "0.7.2"
log = "0.4.21"
md-5 = "0.10.6"
memchr = "2.7.1"
num_cpus = "1.16.0"
os_info = { version = "3.8.1", default-features = false }
phf = "0.11.2"
pretty_assertions = "1.4.0"
proc-exit = "2.0.1"
rayon = "1.9.0"
regex = "1.10.3"
ring = "0.17.8"
rust-ini = "0.21.0"
smallvec = "1.13.1"
strum = "0.26.2"

[profile.dev]
debug = 2
split-debuginfo = "unpacked"
Expand Down
22 changes: 11 additions & 11 deletions crates/paketkoll/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ arch_linux = ["paketkoll_core/arch_linux"]
debian = ["paketkoll_core/debian"]

[dependencies]
ahash = "0.8.11"
anyhow = { version = "1.0.81", features = ["backtrace"] }
clap = { version = "4.5.3", features = ["derive"] }
env_logger = "0.11.3"
log = "0.4.21"
os_info = { version = "3.8.1", default-features = false }
ahash = { workspace = true }
anyhow = { workspace = true, features = ["backtrace"] }
clap = { workspace = true, features = ["derive"] }
env_logger = { workspace = true }
log = { workspace = true }
os_info = { workspace = true }
paketkoll_core = { version = "0.3.1", path = "../paketkoll_core" }
proc-exit = "2.0.1"
rayon = "1.9.0"
proc-exit = { workspace = true }
rayon = { workspace = true }

[target.'cfg(target_env = "musl")'.dependencies]
# The allocator on musl is attrociously slow, so we use a custom one.
Expand All @@ -38,6 +38,6 @@ rayon = "1.9.0"
mimalloc = "0.1.39"

[build-dependencies]
clap = { version = "4.5.3", features = ["derive"] }
clap_complete = "4.5.1"
clap_mangen = "0.2.20"
clap = { workspace = true, features = ["derive"] }
clap_complete = { workspace = true }
clap_mangen = { workspace = true }
60 changes: 26 additions & 34 deletions crates/paketkoll_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,40 +37,32 @@ __md5 = ["dep:md-5"]
__sha256 = ["dep:ring"]

[dependencies]
ahash = "0.8.11"
anyhow = { version = "1.0.81", features = ["backtrace"] }
bitflags = "2.4.2"
bstr = "1.9.1"
compact_str = { version = "0.7.1", features = ["smallvec"] }
dashmap = { version = "5.5.3", optional = true }
derive_builder = "0.20.0"
either = "1.10.0"
faster-hex = { version = "0.9.0", default-features = false, features = ["std"] }
flate2 = { version = "1.0.28", features = ["zlib-ng"], optional = true }
flume = { version = "0.11.0", default-features = false }
ignore = { version = "0.4.22", features = ["simd-accel"] }
lasso = { version = "0.7.2", features = [
"ahasher",
"inline-more",
"multi-threaded",
] }
log = "0.4.21"
md-5 = { version = "0.10.6", optional = true }
memchr = "2.7.1"
num_cpus = "1.16.0"
ahash = { workspace = true }
anyhow = { workspace = true, features = ["backtrace"] }
bitflags = { workspace = true }
bstr = { workspace = true }
compact_str = { workspace = true, features = ["smallvec"] }
dashmap = { workspace = true, optional = true }
derive_builder = { workspace = true }
either = { workspace = true }
faster-hex = { workspace = true, features = ["std"] }
flate2 = { workspace = true, features = ["zlib-ng"], optional = true }
flume = { workspace = true }
ignore = { workspace = true, features = ["simd-accel"] }
lasso = { workspace = true, features = ["ahasher", "inline-more", "multi-threaded"] }
log = { workspace = true }
md-5 = { workspace = true, optional = true }
memchr = { workspace = true }
num_cpus = { workspace = true }
#mtree = { version = "0.5.0", optional = true }
phf = { version = "0.11.2", features = ["macros"] }
rayon = "1.9.0"
regex = "1.10.3"
ring = { version = "0.17.8", optional = true }
rust-ini = { version = "0.21.0", optional = true }
smallvec = { version = "1.13.1", features = [
"const_generics",
"const_new",
"union",
] }
strum = { version = "0.26.2", features = ["derive"] }
phf = { workspace = true, features = ["macros"] }
rayon = { workspace = true }
regex = { workspace = true }
ring = { workspace = true, optional = true }
rust-ini = { workspace = true, optional = true }
smallvec = { workspace = true, features = ["const_generics", "const_new", "union"] }
strum = { workspace = true, features = ["derive"] }

[dev-dependencies]
indoc = "2.0.4"
pretty_assertions = "1.4.0"
indoc = { workspace = true }
pretty_assertions = { workspace = true }

0 comments on commit d79b280

Please sign in to comment.