From 61ae2f5e9b859c54813306be4cdf5d7396e526ea Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 16 Feb 2021 13:37:08 +0800 Subject: [PATCH] inbound/tun: uses a branch of `rust-tun` with the endianness issue fixed --- leaf/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaf/Cargo.toml b/leaf/Cargo.toml index c195591..8016844 100644 --- a/leaf/Cargo.toml +++ b/leaf/Cargo.toml @@ -188,7 +188,7 @@ warp = { version = "0.2", optional = true } # TUN [target.'cfg(any(target_os = "ios", target_os = "macos", target_os = "linux"))'.dependencies] -tun = { git = "https://github.com/eycorsican/rust-tun.git", branch = "fix", features = ["async"], optional = true } +tun = { git = "https://github.com/eycorsican/rust-tun.git", branch = "fix-endianness", features = ["async"], optional = true } [build-dependencies] cc = "1.0"