Skip to content

Commit bacf85d

Browse files
committed
chore: Use anyhow from the workspace.
1 parent b163368 commit bacf85d

File tree

17 files changed

+17
-17
lines changed

17 files changed

+17
-17
lines changed

examples/autojoin/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ name = "example-autojoin"
99
test = false
1010

1111
[dependencies]
12+
anyhow = { workspace = true }
1213
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
13-
anyhow = "1"
1414
tracing-subscriber = { workspace = true }
1515
# when copy-pasting this, please use a git dependency or make sure that you
1616
# have copied the example as it was at the time of the release you use.

examples/backups/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-backups"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
clap = { version = "4.0.15", features = ["derive"] }
1515
futures-util = { workspace = true }

examples/command_bot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-command-bot"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
tracing-subscriber = { workspace = true }
1515
# when copy-pasting this, please use a git dependency or make sure that you

examples/cross_signing_bootstrap/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-cross-signing-bootstrap"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
tracing-subscriber = { workspace = true }
1515
url = { workspace = true }

examples/custom_events/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-custom-events"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
serde = "1.0"
1414
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1515
tracing-subscriber = { workspace = true }

examples/emoji_verification/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-emoji-verification"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
clap = { version = "4.0.15", features = ["derive"] }
1515
futures-util = { workspace = true }

examples/get_profiles/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-get-profiles"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
tracing-subscriber = { workspace = true }
1515
url = { workspace = true }

examples/getting_started/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-getting-started"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
tracing-subscriber = { workspace = true }
1515
# when copy-pasting this, please use a git dependency or make sure that you

examples/image_bot/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-image-bot"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
mime = "0.3.16"
1414
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1515
tracing-subscriber = { workspace = true }

examples/login/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-login"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
tracing-subscriber = { workspace = true }
1515
url = { workspace = true }

examples/oidc_cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-oidc-cli"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
axum = "0.7.4"
1414
dirs = "5.0.1"
1515
futures-util = { workspace = true, default-features = false }

examples/persist_session/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-persist-session"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
dirs = "5.0.1"
1414
rand = { workspace = true }
1515
serde = { workspace = true }

examples/qr-login/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-qr-login"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
clap = { version = "4.0.15", features = ["derive"] }
1515
qrcode = { git = "https://github.com/kennytm/qrcode-rust/" }

examples/secret_storage/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-secret-storage"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
1414
clap = { version = "4.0.15", features = ["derive"] }
1515
tracing-subscriber = { workspace = true }

examples/timeline/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "example-timeline"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
clap = { version = "4.0.16", features = ["derive"] }
1414
futures-util = { workspace = true }
1515
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

labs/multiverse/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ name = "multiverse"
99
test = false
1010

1111
[dependencies]
12-
anyhow = "1"
12+
anyhow = { workspace = true }
1313
color-eyre = "0.6.2"
1414
crossterm = "0.27.0"
1515
futures-util = { workspace = true }

testing/matrix-sdk-integration-testing/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ edition = "2021"
66
publish = false
77

88
[dev-dependencies]
9+
anyhow = { workspace = true }
910
assert_matches = { workspace = true }
1011
assert_matches2 = { workspace = true }
11-
anyhow = { workspace = true }
1212
assign = "1"
1313
eyeball = { workspace = true }
1414
eyeball-im = { workspace = true }

0 commit comments

Comments
 (0)