chore: Use workspace for shared dev-dependencies

This commit is contained in:
Arne Beer 2023-02-09 10:40:53 +01:00
parent 4be6221e95
commit a28653653a
No known key found for this signature in database
GPG Key ID: CC9408F679023B65
3 changed files with 16 additions and 7 deletions

View File

@ -18,11 +18,17 @@ command-group = "2"
log = "0.4"
serde = "1.0"
serde_json = "1.0"
serde_yaml = "0.9"
serde_derive = "1.0"
snap = "1.1"
strum = "0.24"
strum_macros = "0.24"
tokio = { version = "1.24", features = ["rt-multi-thread", "time", "io-std"] }
# Dev dependencies
anyhow = "1"
better-panic = "0.3"
pretty_assertions = "1"
[profile.release]
lto = "thin"

View File

@ -44,12 +44,14 @@ tokio = { workspace = true }
[dev-dependencies]
assert_cmd = "2"
better-panic = "0.3"
pretty_assertions = "1"
rstest = "0.16"
serde_yaml = "0.9"
similar-asserts = "1"
anyhow = { workspace = true }
better-panic = { workspace = true }
pretty_assertions = { workspace = true }
serde_yaml = { workspace = true }
# Make it easy to view log output for select tests.
# Set log level for tests with RUST_LOG=<level>, use with failed tests or
# disable test stdout/stderr capture (`cargo test -- --nocapture` / `cargo

View File

@ -42,12 +42,13 @@ strum_macros = { workspace = true }
tokio = { workspace = true, features = ["macros", "net", "io-util"] }
[dev-dependencies]
anyhow = "1"
better-panic = "0.3"
pretty_assertions = "1"
portpicker = "0.1"
tempdir = "0.3"
tokio = { version = "1", features = ["time"] }
anyhow = { workspace = true }
better-panic = { workspace = true }
pretty_assertions = { workspace = true }
tokio = { workspace = true }
# --- Platform specific dependencies ---
# Windows