[package] name = "protosocks" version = "0.7.0" authors = ["hlzhang "] edition = "2018" license-file = "LICENSE.md" description = "Socks5 protocol lib in Rust (RFC1928 and RFC1929)" homepage = "https://github.com/hlzhang/protosocks/" repository = "https://github.com/hlzhang/protosocks/" documentation = "https://docs.rs/protosocks" readme = "README.md" exclude = [ ".circleci/*", ".gitignore", ".travis.yml", ".versionrc.js", "ver", ] [dependencies] bytes = "0.5.3" log = "0.4" num-traits = "0.2" num-derive = "0.3" serde = "1.0.15" serde_derive = "1.0.15" smolsocket = { version = "0.3", default-features = false } smoltcp = { version = "0.6.0", default-features = false } snafu = "0.4.1" [features] std = ["smolsocket/std", "smoltcp/std"] "proto-ipv4" = ["smolsocket/proto-ipv4", "smoltcp/proto-ipv4"] "proto-ipv6" = ["smolsocket/proto-ipv6", "smoltcp/proto-ipv4"] default = [ "std", "proto-ipv4", "proto-ipv6" ]