Skip to content

Commit 4e06125

Browse files
committed
Pin tcp_rerouting build dependencies for Rust 1.65 MSRV compatibility
Pin proc-macro2 and quote in build-dependencies to versions compatible with Rust 1.65 (the SDK's MSRV). Without these pins, cargo may select newer versions (e.g., quote 1.0.42) that require Rust 1.68+, causing CI builds to fail. This follows best practices by explicitly pinning problematic transitive dependencies rather than setting rust-version, which is not used by other examples. Signed-off-by: Christof Gerber <[email protected]>
1 parent 138dd55 commit 4e06125

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/tcp_rerouting/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ authors = ["Proxy-Wasm contributors"]
66
description = "Proxy-Wasm plugin example: TCP Rerouting based on source IP"
77
license = "Apache-2.0"
88
edition = "2021"
9+
rust-version = "1.65"
910

1011
[lib]
1112
crate-type = ["cdylib"]

0 commit comments

Comments
 (0)