# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75" name = "obfs4" version = "0.1.0-alpha.1" authors = ["Jack Wampler "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Pure rust implementation of the obfs4 pluggable transport" readme = "README.md" keywords = [ "tor", "networking", "censorship", "circumvention", "pluggable-transport", ] categories = [ "network-programming", "cryptography", ] license = "MIT OR Apache-2.0" repository = "https://github.com/jmwample/ptrs" [lib] name = "obfs4" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.anyhow] version = "1.0.20" optional = true [dependencies.async-trait] version = "0.1.9" optional = true [dependencies.base64] version = "0.22.0" [dependencies.bytes] version = "1.5.0" [dependencies.cipher] version = "0.4.4" [dependencies.colored] version = "2.0.4" [dependencies.crypto_secretbox] version = "0.1.1" features = [ "salsa20", "heapless", ] [dependencies.curve25519-dalek] version = "4.1" optional = true [dependencies.curve25519-elligator2] version = "0.1.0-alpha.1" features = ["elligator2"] [dependencies.digest] version = "0.10.7" features = ["mac"] [dependencies.filetime] version = "0.2.25" optional = true [dependencies.futures] version = "0.3.29" [dependencies.getrandom] version = "0.2.11" [dependencies.hex] version = "0.4.3" [dependencies.hkdf] version = "0.12.3" [dependencies.hmac] version = "0.12.1" features = ["reset"] [dependencies.num-bigint] version = "0.4.2" optional = true [dependencies.pin-project] version = "1.1.3" [dependencies.ptrs] version = "0.1.0" [dependencies.rand] version = "0.8.5" features = ["getrandom"] [dependencies.rand_core] version = "0.6.4" [dependencies.serde] version = "1.0.197" [dependencies.serde_json] version = "1.0.114" [dependencies.sha2] version = "0.10.8" [dependencies.simple_asn1] version = "0.6.1" optional = true [dependencies.siphasher] version = "1.0.0" [dependencies.subtle] version = "2.5.0" [dependencies.thiserror] version = "1.0.56" [dependencies.tokio] version = "1.34" features = [ "io-util", "rt-multi-thread", "net", "rt", "macros", "sync", "signal", "time", "fs", ] [dependencies.tokio-util] version = "0.7.10" features = [ "codec", "io", ] [dependencies.tor-bytes] version = "0.22.0" [dependencies.tor-cell] version = "0.22.0" [dependencies.tor-error] version = "0.22.0" [dependencies.tor-llcrypto] version = "0.22.0" [dependencies.tracing] version = "0.1.40" [dependencies.x25519-dalek] version = "2.0.1" features = [ "static_secrets", "getrandom", "reusable_secrets", ] [dependencies.zeroize] version = "1.7.0" [dev-dependencies.hex-literal] version = "0.4.1" [dev-dependencies.tor-basic-utils] version = "0.22.0" [dev-dependencies.tracing-subscriber] version = "0.3.18" [features] debug = ["ptrs/debug"] default = [] [lints.rust.unexpected_cfgs] level = "allow" priority = 0 check-cfg = ['cfg(target_features, values("disabled"))']