Skip to content

Commit 198bae0

Browse files
feat: update deps to latest (#40)
1 parent 6ba0c1f commit 198bae0

11 files changed

Lines changed: 354 additions & 343 deletions

File tree

Cargo.lock

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

deny.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ allow = [
2222
[advisories]
2323
ignore = [
2424
"RUSTSEC-2024-0436", # paste -> netlink-packet-core
25-
"RUSTSEC-2023-0089", # atomic-polyfill (unmaintained)
2625
]
2726

2827
[sources]

patchbay-cli/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ open = "5"
2020
patchbay-server = { workspace = true, optional = true }
2121
patchbay-utils = { workspace = true }
2222
patchbay-vm = { workspace = true, optional = true }
23-
reqwest = { version = "0.12", default-features = false, features = ["blocking", "json", "rustls-tls"], optional = true }
23+
reqwest = { version = "0.13", default-features = false, features = ["blocking", "json", "rustls"], optional = true }
2424
serde = { version = "1", features = ["derive"] }
2525
serde_json = "1"
2626
tar = "0.4"
@@ -29,8 +29,8 @@ toml = "1.0"
2929
tracing = "0.1"
3030

3131
[target.'cfg(target_os = "linux")'.dependencies]
32-
ctor = "0.6"
33-
nix = { version = "0.30", features = ["signal", "process"] }
32+
ctor = "1.0"
33+
nix = { version = "0.31", features = ["signal", "process"] }
3434
patchbay = { workspace = true }
3535
patchbay-runner = { workspace = true }
3636

patchbay-cli/src/native.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use serde::{Deserialize, Serialize};
1616

1717
/// Bootstrap user namespaces before main() — required for test binaries
1818
/// where main() is not our code (nextest spawns each test as a process).
19-
#[ctor::ctor]
19+
#[ctor::ctor(unsafe)]
2020
fn _init_userns() {
2121
// Safety: called from .init_array before main() and before any threads.
2222
unsafe { patchbay::init_userns_for_ctor() };

patchbay-runner/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ comfy-table = "7"
1616
flate2 = "1"
1717
patchbay = { workspace = true }
1818
patchbay-utils = { workspace = true }
19-
nix = { version = "0.30", features = ["signal", "process"] }
19+
nix = { version = "0.31", features = ["signal", "process"] }
2020
rcgen = "0.14"
2121
regex = "1"
2222
serde = { version = "1", features = ["derive"] }

patchbay-server/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ path = "src/main.rs"
1616
axum = { version = "0.8", features = ["tokio"] }
1717
tokio = { version = "1", features = ["rt-multi-thread", "rt", "macros", "sync", "time", "fs", "io-util", "signal"] }
1818
tokio-stream = { version = "0.1", features = ["sync"] }
19-
tokio-rustls-acme = { version = "0.7", features = ["axum"] }
19+
tokio-rustls-acme = { version = "0.9.1", features = ["axum"] }
2020
anyhow = "1"
2121
async-stream = "0.3"
2222
clap = { version = "4", features = ["derive", "env"] }
@@ -30,7 +30,7 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] }
3030
uuid = { version = "1", features = ["v4"] }
3131
chrono = "0.4"
3232
patchbay-utils = { path = "../patchbay-utils" }
33-
axum-server = "0.7"
33+
axum-server = "0.8"
3434
rustls = "0.23"
3535

3636
[package.metadata.binstall]

patchbay-utils/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ repository.workspace = true
1111
anyhow = "1"
1212
flate2 = "1"
1313
glob = "0.3"
14-
reqwest = { version = "0.12", default-features = false, features = ["blocking", "rustls-tls", "stream"] }
14+
reqwest = { version = "0.13", default-features = false, features = ["blocking", "rustls", "stream"] }
1515
serde = { version = "1", features = ["derive"] }
1616
serde_json = "1"
17-
sha2 = "0.10"
17+
sha2 = "0.11"
1818
tar = "0.4"
1919
tracing = "0.1"
2020
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }

patchbay-vm/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ anyhow = "1"
1515
clap = { version = "4", features = ["derive"] }
1616
dirs = "6"
1717
patchbay-utils = { workspace = true }
18-
nix = { version = "0.30", features = ["signal", "process"] }
18+
nix = { version = "0.31", features = ["signal", "process"] }
1919
serde = { version = "1", features = ["derive"] }
2020
serde_json = "1"
2121
toml = "1.0"

patchbay/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ repository.workspace = true
1212
iroh-metrics = ["dep:iroh-metrics"]
1313

1414
[dependencies]
15-
iroh-metrics = { version = "0.38", optional = true }
15+
iroh-metrics = { version = "=1.0.0-rc.0", optional = true }
1616
anyhow = "1"
1717
chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] }
1818
derive_more = { version = "2.1.1", features = ["debug", "display"] }
1919
futures = "0.3"
2020
ipnet = { version = "2.11", features = ["serde"] }
2121
libc = "0.2"
22-
nix = { version = "0.30", features = ["sched", "mount", "fs", "signal", "process", "user", "ioctl"] }
23-
rtnetlink = "0.20"
22+
nix = { version = "0.31", features = ["sched", "mount", "fs", "signal", "process", "user", "ioctl"] }
23+
rtnetlink = "0.21"
2424
serde = { version = "1", features = ["derive"] }
2525
serde_json = "1"
2626
strum = { version = "0.28", features = ["derive"] }
@@ -33,8 +33,8 @@ tracing-core = "0.1"
3333
tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt", "ansi"] }
3434

3535
[dev-dependencies]
36-
ctor = "0.6"
36+
ctor = "1.0"
3737
futures-buffered = "0.2"
3838
hickory-resolver = { version = "0.26", default-features = false, features = ["system-config", "tokio"] }
3939
n0-tracing-test = "0.3.0"
40-
testdir = "0.9"
40+
testdir = "0.10"

patchbay/src/tests/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ mod smoke;
5454

5555
// ── Shared test infrastructure ──────────────────────────────────────
5656

57-
#[ctor::ctor]
57+
#[ctor::ctor(unsafe)]
5858
fn init() {
5959
let _ = init_userns();
6060
}

0 commit comments

Comments
 (0)