deps: socket2

This commit is contained in:
Jun Kurihara 2025-07-08 10:38:44 +09:00
commit 850aff11ff
No known key found for this signature in database
GPG key ID: 9C5AF0A526862FEF
2 changed files with 17 additions and 7 deletions

22
Cargo.lock generated
View file

@ -1226,7 +1226,7 @@ dependencies = [
"libc", "libc",
"percent-encoding", "percent-encoding",
"pin-project-lite", "pin-project-lite",
"socket2", "socket2 0.5.10",
"system-configuration", "system-configuration",
"tokio", "tokio",
"tower-service", "tower-service",
@ -1913,7 +1913,7 @@ dependencies = [
"quinn-udp", "quinn-udp",
"rustc-hash 2.1.1", "rustc-hash 2.1.1",
"rustls", "rustls",
"socket2", "socket2 0.5.10",
"thiserror 2.0.12", "thiserror 2.0.12",
"tokio", "tokio",
"tracing", "tracing",
@ -1952,7 +1952,7 @@ dependencies = [
"cfg_aliases", "cfg_aliases",
"libc", "libc",
"once_cell", "once_cell",
"socket2", "socket2 0.5.10",
"tracing", "tracing",
"windows-sys 0.59.0", "windows-sys 0.59.0",
] ]
@ -2212,7 +2212,7 @@ dependencies = [
"s2n-quic-h3", "s2n-quic-h3",
"s2n-quic-rustls", "s2n-quic-rustls",
"sha2", "sha2",
"socket2", "socket2 0.6.0",
"thiserror 2.0.12", "thiserror 2.0.12",
"tokio", "tokio",
"tokio-rustls", "tokio-rustls",
@ -2509,7 +2509,7 @@ dependencies = [
"lazy_static", "lazy_static",
"libc", "libc",
"s2n-quic-core", "s2n-quic-core",
"socket2", "socket2 0.5.10",
"tokio", "tokio",
] ]
@ -2754,6 +2754,16 @@ dependencies = [
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]
[[package]]
name = "socket2"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "233504af464074f9d066d7b5416c5f9b894a5862a6506e306f7b816cdd6f1807"
dependencies = [
"libc",
"windows-sys 0.59.0",
]
[[package]] [[package]]
name = "stable_deref_trait" name = "stable_deref_trait"
version = "1.2.0" version = "1.2.0"
@ -2956,7 +2966,7 @@ dependencies = [
"mio", "mio",
"pin-project-lite", "pin-project-lite",
"slab", "slab",
"socket2", "socket2 0.5.10",
"tokio-macros", "tokio-macros",
"windows-sys 0.52.0", "windows-sys 0.52.0",
] ]

View file

@ -104,7 +104,7 @@ s2n-quic-h3 = { path = "../submodules/s2n-quic/quic/s2n-quic-h3/", features = [
], optional = true } ], optional = true }
########## ##########
# for UDP socket wit SO_REUSEADDR when h3 with quinn # for UDP socket wit SO_REUSEADDR when h3 with quinn
socket2 = { version = "0.5.10", features = ["all"], optional = true } socket2 = { version = "0.6.0", features = ["all"], optional = true }
# cache # cache
http-cache-semantics = { path = "../submodules/rusty-http-cache-semantics", default-features = false, optional = true } http-cache-semantics = { path = "../submodules/rusty-http-cache-semantics", default-features = false, optional = true }