Skip to content

Commit

Permalink
Merge pull request #3 from DanielVoogsgerd/master
Browse files Browse the repository at this point in the history
Dependencies
  • Loading branch information
Lut99 authored Oct 8, 2024
2 parents 9ad2456 + a1e464d commit 7c4af49
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 25 deletions.
38 changes: 19 additions & 19 deletions socksx/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,29 @@ edition = "2018"
license = "MIT"

[dependencies]
anyhow = "1"
async-trait = "0.1"
bytes = "1"
clap = { version = "4.4", features = ["derive", "env"] }
dotenv = "0.15"
env_logger = "0.10"
anyhow = "1.0.4"
async-trait = "0.1.0"
bytes = "1.0.0"
clap = { version = "4.4.0", features = ["derive", "env"] }
dotenv = { version = "0.15.0", package = "dotenvy" }
env_logger = "0.11.0"
futures = "0.3"
human-panic = "1"
itertools = "0.11"
libc = "0.2"
log = "0.4"
num-derive = "0.4"
num-traits = "0.2"
thiserror = "1"
tokio = { version = "1", features = ["full"] }
url = "2.2"
human-panic = "2.0.0"
itertools = "0.13.0"
libc = "0.2.156"
log = "0.4.8"
num-derive = "0.4.0"
num-traits = "0.2.0"
thiserror = "1.0.0"
tokio = { version = "1.5.0", features = ["full"] }
url = "2.2.0"

[target.'cfg(unix)'.dependencies]
nix = { version = "0.27", features = ["net","socket"] }
nix = { version = "0.29.0", features = ["net","socket"] }

[target.'cfg(windows)'.dependencies]
windows = { version = "0.51", features = ["Win32_Networking_WinSock"] }
windows = { version = "0.51.0", features = ["Win32_Networking_WinSock"] }

[dev-dependencies]
chacha20 = "0.9"
pin-project-lite = "0.2"
chacha20 = "0.9.0"
pin-project-lite = "0.2.0"
7 changes: 1 addition & 6 deletions socksx/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,7 @@ async fn main() -> Result<()> {
logger.filter_level(LevelFilter::Info).init();

// Setup human-friendly panic messages
setup_panic!(Metadata {
name: "SOCKSX".into(),
version: env!("CARGO_PKG_VERSION").into(),
authors: env!("CARGO_PKG_AUTHORS").replace(":", ", ").into(),
homepage: env!("CARGO_PKG_HOMEPAGE").into(),
});
setup_panic!(metadata!());
}

// TODO: validate host
Expand Down

0 comments on commit 7c4af49

Please sign in to comment.