From d5d847fa92e6703732be724dc55f651ae63eba3b Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Sun, 14 Apr 2024 19:18:18 +0800 Subject: [PATCH] Bump version 0.2.17 --- Cargo.toml | 8 ++++---- src/lib.rs | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 2c100ec..a9b7b2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tun2proxy" -version = "0.2.16" +version = "0.2.17" edition = "2021" license = "MIT" repository = "https://github.com/blechschmidt/tun2proxy" @@ -29,11 +29,11 @@ log = { version = "0.4", features = ["std"] } percent-encoding = "2" socks5-impl = { version = "0.5" } thiserror = "1.0" -tokio = { version = "1.36", features = ["full"] } +tokio = { version = "1", features = ["full"] } tokio-util = "0.7" -tproxy-config = { version = "4.0", features = ["log"] } +tproxy-config = { version = "4", features = ["log"] } trust-dns-proto = "0.23" -tun2 = { version = "1.2", features = ["async"] } +tun2 = { version = "1.3", features = ["async"] } udp-stream = { version = "0.0", default-features = false } unicase = "2.7" url = "2.5" diff --git a/src/lib.rs b/src/lib.rs index 59bc4b9..9ee8e5f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -147,6 +147,7 @@ pub async fn run(device: D, mtu: u16, args: Args, shutdown_token: Cancellatio where D: AsyncRead + AsyncWrite + Unpin + Send + 'static, { + log::info!("{} {} starting...", env!("CARGO_PKG_NAME"), env!("CARGO_PKG_VERSION")); log::info!("Proxy {} server: {}", args.proxy.proxy_type, args.proxy.addr); let server_addr = args.proxy.addr;