Skip to content

Commit 6e84cda

Browse files
committed
Add unit test for discarding invalid messages
1 parent 57cfdc7 commit 6e84cda

7 files changed

Lines changed: 560 additions & 384 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cli = ["clap"]
3131
[dependencies]
3232
async-channel = { version = "1.9" }
3333
async-trait = { version = "0.1" }
34-
backon = { version = "1.5", default-features = false, features = ["tokio-sleep"] }
34+
backon = { version = "1.6", default-features = false, features = ["tokio-sleep"] }
3535
bytes = { version = "1.10.1" }
3636
clap = { version = "4.5", optional = true, default-features = false, features = [
3737
"std",
@@ -52,15 +52,15 @@ tokio = { version = "1.45.1", default-features = false, features = ["rt", "rt-mu
5252
up-rust = { version = "0.9", default-features = false }
5353

5454
[build-dependencies]
55-
testcontainers = { version = "0.25.1", features = ["blocking"] }
55+
testcontainers = { version = "0.26.0", default-features = false, features = ["blocking"] }
5656

5757
[dev-dependencies]
5858
env_logger = { version = "0.11.8" }
59-
mockall = { version = "0.13.1" }
59+
mockall = { version = "0.14.0" }
6060
serial_test = { version = "3.2.0" }
6161
tempfile = { version = "3.23.0" }
6262
test-case = { version = "3.3.1" }
63-
testcontainers = { version = "0.25.2" }
63+
testcontainers = { version = "0.26.0", default-features = false }
6464
tokio = { version = "1.45.1", default-features = false, features = [
6565
"macros",
6666
"rt",

deny.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ allow = [
2626
# Unicode-3.0 is not (yet) on the Eclipse Foundation's list of approved licenses
2727
# however, all of its predecessors are, thus we assume that 3.0 is also ok to use
2828
"Unicode-3.0",
29-
"Zlib",
3029
]
3130
private = { ignore = true }
3231

@@ -35,6 +34,12 @@ multiple-versions = "deny"
3534
wildcards = "deny"
3635
skip-tree = [
3736
{ crate = "windows-sys", reason = "a foundational crate for many that bumps far too frequently to ever have a shared version" },
38-
{ crate = "getrandom@0.2.15", reason = "an outdated version that is still used by some other crates we depend on" },
3937
{ crate = "testcontainers", reason = "this crate (and its deps) is only used for testing" },
4038
]
39+
40+
[advisories]
41+
ignore = [
42+
# this affects a transitive dependency via testcontainers which is only used during
43+
# the build and test process
44+
"RUSTSEC-2025-0134",
45+
]

0 commit comments

Comments
 (0)