Skip to content

Commit

Permalink
chore: move dependencies versions to workspace's manifest (#93)
Browse files Browse the repository at this point in the history
* add all deps to the workspace's manifest

* wire binary's deps to workspace
  • Loading branch information
imrn99 authored Jul 22, 2024
1 parent ee01463 commit b81ac65
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 15 deletions.
22 changes: 21 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,24 @@ members = ["fastiron", "fastiron-stats"]
[profile.release]
#lto = true
#codegen-units = 1
debug = true
debug = true

[workspace.dependencies]
# common
clap = { version = "4.5.8" }

# fastiron
serde_yaml = { version = "0.9.34" }
num = { version = "0.4.3" }
rand = { version = "0.8.5" }
tinyvec = { version = "1.6.1" }
rayon = { version = "1.10.0" }
atomic = { version = "0.5.3" } # further upgrade == breaking change
hwlocality = { version = "1.0.0-alpha.5" }
libc = { version = "0.2.155" }
rustc-hash = { version = "2.0.0" }
criterion = { version = "0.5.1" }

# fastiron-stats
csv = { version = "1.3.0" }
gnuplot = { version = "0.0.43" }
6 changes: 3 additions & 3 deletions fastiron-stats/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { version = "4.5.8", features = ["cargo", "derive"] }
csv = "1.3.0"
gnuplot = "0.0.43"
clap = { workspace = true, features = ["cargo", "derive"] }
csv = { workspace = true }
gnuplot = { workspace = true }
22 changes: 11 additions & 11 deletions fastiron/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@ edition = "2021"
# DEPENDENCIES

[dependencies]
clap = { version = "4.5.8", features = ["cargo", "derive"] }
serde_yaml = { version = "0.9.34", features = [] }
num = { version = "0.4.3" }
rand = { version = "0.8.5", features = ["small_rng"] }
tinyvec = { version = "1.6.1" }
rayon = { version = "1.10.0" }
atomic = { version = "0.5.3" } # further upgrade == breaking change
hwlocality = { version = "1.0.0-alpha.5" }
libc = { version = "0.2.155" }
rustc-hash = { version = "2.0.0" }
clap = { workspace = true, features = ["cargo", "derive"] }
serde_yaml = { workspace = true }
num = { workspace = true }
rand = { workspace = true, features = ["small_rng"] }
tinyvec = { workspace = true }
rayon = { workspace = true }
atomic = { workspace = true } # further upgrade == breaking change
hwlocality = { workspace = true }
libc = { workspace = true }
rustc-hash = { workspace = true }

[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
criterion = { workspace = true, features = ["html_reports"] }

# BENCH

Expand Down

0 comments on commit b81ac65

Please sign in to comment.