4f6b2aea19
* Ability to set client in vpn mode * Connection handler for mixnode * Initial vpn mode for mixes * Updated SphinxCodec to contain more metadata * Renaming * Removed handle from mixnet client and introduced forwarder * Mixnode using new forwarder * Mixnode common module containing shared packet processing * ibid. incorporated inside mixnode * New processing for gateway * Type cleanup * Wasm fix * Fixed client config * Fixed mixnode runtime issues * Formatting * Client re-using secret on 'normal' packets * Using the same key for acks * WIP * vpn key manager cleanup * wasm fix * VPN_KEY_REUSE_LIMIT moved to config * Moved AckDelayQueue to separate common crate * Key cache invalidator * Updated dashmap used in gateway * Old typo * Additional comment * Cargo fmt * Fixed tests * Sphinx update * cache ttl as config option * Cargo fmt
35 lines
1.2 KiB
TOML
35 lines
1.2 KiB
TOML
[package]
|
|
name = "nymsphinx"
|
|
version = "0.1.0"
|
|
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
rand = { version = "0.7.3", features = ["wasm-bindgen"] }
|
|
rand_distr = "0.2.2"
|
|
|
|
nymsphinx-acknowledgements = { path = "acknowledgements" }
|
|
nymsphinx-addressing = { path = "addressing" }
|
|
nymsphinx-anonymous-replies = { path = "anonymous-replies" }
|
|
nymsphinx-chunking = { path = "chunking" }
|
|
nymsphinx-cover = { path = "cover" }
|
|
nymsphinx-forwarding = { path = "forwarding" }
|
|
nymsphinx-params = { path = "params" }
|
|
nymsphinx-types = { path = "types" }
|
|
|
|
# those dependencies are due to intriducing preparer and receiver. Perpaphs that indicates they should be moved
|
|
# to separate crate?
|
|
crypto = { path = "../crypto" }
|
|
topology = { path = "../topology" }
|
|
|
|
# do not include this when compiling into wasm as it somehow when combined together with reqwest, it will require
|
|
# net2 via tokio-util -> tokio -> mio -> net2
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.nymsphinx-framing]
|
|
path = "framing"
|
|
|
|
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.tokio]
|
|
version = "0.2"
|
|
features = ["sync"]
|