Skip to content

Commit f0841b4

Browse files
committed
Add anyhow as a workspace dependency and update it
1 parent e0a7e30 commit f0841b4

File tree

6 files changed

+10
-6
lines changed

6 files changed

+10
-6
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
@@ -4,6 +4,7 @@ exclude = ["rust/src"]
44
resolver = "2"
55

66
[workspace.dependencies]
7+
anyhow = "1"
78
hashbrown = "0.14"
89
log = "0.4"
910
serde = "1"

collector/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ rust-version = "1.75.0"
1010
serde = { workspace = true, features = ["derive"] }
1111
serde_json = { workspace = true }
1212
log = { workspace = true }
13+
anyhow = { workspace = true }
14+
1315
clap = { version = "4.1", features = ["derive"] }
1416
env_logger = "0.10"
15-
anyhow = "1"
1617
thiserror = "1"
1718
tempfile = "3"
1819
libc = "0.2"

collector/benchlib/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ description = "Library for defining and measuring benchmarks of Rust code"
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10+
anyhow = { workspace = true }
1011
log = { workspace = true }
1112
serde = { workspace = true, features = ["derive"] }
1213
serde_json = { workspace = true }
1314

14-
anyhow = "1.0.61"
1515
env_logger = "0.10.0"
1616
clap = { version = "4.1", features = ["derive", "string"] }
1717
libc = "0.2"

database/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@ edition = "2021"
88
serde = { workspace = true, features = ["derive"] }
99
log = { workspace = true }
1010
hashbrown = { workspace = true, features = ["serde"] }
11+
anyhow = { workspace = true }
12+
1113
rusqlite = { version = "0.28", features = ["bundled"] }
1214
tokio-postgres = { version = "0.7", features = ["with-chrono-0_4", "runtime"] }
13-
anyhow = "1"
1415
async-trait = "0.1"
1516
tokio = { version = "1.6", features = ["sync", "macros", "parking_lot"] }
1617
intern = { path = "../intern" }

site/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ serde = { workspace = true, features = ["rc"] }
99
serde_json = { workspace = true }
1010
log = { workspace = true }
1111
hashbrown = { workspace = true, features = ["serde"] }
12+
anyhow = { workspace = true }
13+
1214
env_logger = "0.10"
13-
anyhow = "1"
1415
futures = "0.3"
1516
tokio = { version = "1.26", features = ["macros", "time"] }
1617
hyper = { version = "0.14", features = ["server", "stream"] }

0 commit comments

Comments
 (0)