d8fed178aa
* Upgrade to tokio 1.19.1, tokio-util 0.7.3, tokio-stream 0.1.9, tokio-test 0.4.2 * Tokio-util 0.7.3 handle_done_delaying, handle_expired_ack_timer * Upgrade to tokio 1.19.1, tokio-util 0.7.3, tokio-stream 0.1.9, tokio-test 0.4.2
38 lines
1.3 KiB
TOML
38 lines
1.3 KiB
TOML
[package]
|
|
name = "nymsphinx"
|
|
version = "0.1.0"
|
|
authors = ["Jedrzej Stuczynski <andrew@nymtech.net>"]
|
|
edition = "2021"
|
|
|
|
# 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.3"
|
|
|
|
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" }
|
|
|
|
[dev-dependencies]
|
|
mixnet-contract-common = { path = "../cosmwasm-smart-contracts/mixnet-contract" }
|
|
|
|
# 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 = "1.19.1"
|
|
features = ["sync"]
|