Skip to content

Commit f8efdbd

Browse files
committed
Add clap as a workspace dependency
1 parent f0841b4 commit f8efdbd

File tree

7 files changed

+16
-14
lines changed

7 files changed

+16
-14
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ resolver = "2"
55

66
[workspace.dependencies]
77
anyhow = "1"
8+
clap = "4.1"
89
hashbrown = "0.14"
910
log = "0.4"
1011
serde = "1"

collector/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ description = "Collects Rust performance data"
77
rust-version = "1.75.0"
88

99
[dependencies]
10+
anyhow = { workspace = true }
11+
log = { workspace = true }
1012
serde = { workspace = true, features = ["derive"] }
1113
serde_json = { workspace = true }
12-
log = { workspace = true }
13-
anyhow = { workspace = true }
14+
clap = { workspace = true, features = ["derive"] }
1415

15-
clap = { version = "4.1", features = ["derive"] }
1616
env_logger = "0.10"
1717
thiserror = "1"
1818
tempfile = "3"

collector/benchlib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ description = "Library for defining and measuring benchmarks of Rust code"
88

99
[dependencies]
1010
anyhow = { workspace = true }
11+
clap = { workspace = true, features = ["derive", "string"] }
1112
log = { workspace = true }
1213
serde = { workspace = true, features = ["derive"] }
1314
serde_json = { workspace = true }
1415

1516
env_logger = "0.10.0"
16-
clap = { version = "4.1", features = ["derive", "string"] }
1717
libc = "0.2"
1818
flate2 = { version = "1", optional = true }
1919
crabgrind = { version = "0.1.10", optional = true }

database/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,11 @@ authors = ["Mark Rousskov <mark.simulacrum@gmail.com>"]
55
edition = "2021"
66

77
[dependencies]
8-
serde = { workspace = true, features = ["derive"] }
9-
log = { workspace = true }
10-
hashbrown = { workspace = true, features = ["serde"] }
118
anyhow = { workspace = true }
9+
clap = { workspace = true, features = ["cargo"] }
10+
hashbrown = { workspace = true, features = ["serde"] }
11+
log = { workspace = true }
12+
serde = { workspace = true, features = ["derive"] }
1213

1314
rusqlite = { version = "0.28", features = ["bundled"] }
1415
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4", "runtime"] }
@@ -23,5 +24,4 @@ env_logger = "0.10"
2324
futures-util = "0.3.5"
2425
bytes = "1"
2526
csv = "1"
26-
clap = { version = "4.1", features = ["cargo"] }
2727
x509-cert = { version = "0.2.5", features = ["pem"] }

intern/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ authors = ["Mark Rousskov <mark.simulacrum@gmail.com>"]
55
edition = "2021"
66

77
[dependencies]
8-
serde = { workspace = true, features = ["derive"] }
98
hashbrown = { workspace = true }
9+
serde = { workspace = true, features = ["derive"] }
10+
1011
bumpalo = "3.2"
1112
parking_lot = "0.12"
1213
arc-swap = "1.3"

site/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ version = "0.1.0"
55
edition = "2021"
66

77
[dependencies]
8+
anyhow = { workspace = true }
9+
hashbrown = { workspace = true, features = ["serde"] }
10+
log = { workspace = true }
811
serde = { workspace = true, features = ["rc"] }
912
serde_json = { workspace = true }
10-
log = { workspace = true }
11-
hashbrown = { workspace = true, features = ["serde"] }
12-
anyhow = { workspace = true }
1313

1414
env_logger = "0.10"
1515
futures = "0.3"

0 commit comments

Comments
 (0)