53 lines
2.4 KiB
TOML
53 lines
2.4 KiB
TOML
[package]
|
|
name = "nym-client"
|
|
version = "0.11.0"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>", "Jędrzej Stuczyński <andrew@nymtech.net>"]
|
|
edition = "2018"
|
|
rust-version = "1.56"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
name = "nym_client"
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
# dependencies to review:
|
|
futures = "0.3" # bunch of futures stuff, however, now that I think about it, it could perhaps be completely removed
|
|
# the AsyncRead, AsyncWrite, Stream, Sink, etc. traits could be used from tokio
|
|
# channels should really be replaced with crossbeam due to that implementation being more efficient
|
|
# and the single instance of abortable we have should really be refactored anyway
|
|
url = "2.2"
|
|
|
|
clap = "2.33.0" # for the command line arguments
|
|
dirs = "3.0" # for determining default store directories in config
|
|
dotenv = "0.15.0" # for obtaining environmental variables (only used for RUST_LOG for time being)
|
|
log = "0.4" # self explanatory
|
|
pretty_env_logger = "0.4" # for formatting log messages
|
|
rand = {version = "0.7.3", features = ["wasm-bindgen"]} # rng-related traits + some rng implementation to use
|
|
serde = { version = "1.0.104", features = ["derive"] } # for config serialization/deserialization
|
|
sled = "0.34" # for storage of replySURB decryption keys
|
|
tokio = { version = "1.4", features = ["rt-multi-thread", "net", "signal"] } # async runtime
|
|
tokio-tungstenite = "0.14" # websocket
|
|
|
|
## internal
|
|
client-core = { path = "../client-core" }
|
|
coconut-interface = { path = "../../common/coconut-interface", optional = true }
|
|
credentials = { path = "../../common/credentials", optional = true }
|
|
config = { path = "../../common/config" }
|
|
crypto = { path = "../../common/crypto" }
|
|
gateway-client = { path = "../../common/client-libs/gateway-client" }
|
|
gateway-requests = { path = "../../gateway/gateway-requests" }
|
|
nymsphinx = { path = "../../common/nymsphinx" }
|
|
pemstore = { path = "../../common/pemstore" }
|
|
topology = { path = "../../common/topology" }
|
|
websocket-requests = { path = "websocket-requests" }
|
|
validator-client = { path = "../../common/client-libs/validator-client" }
|
|
version-checker = { path = "../../common/version-checker" }
|
|
|
|
[features]
|
|
coconut = ["coconut-interface", "credentials", "gateway-requests/coconut", "gateway-client/coconut"]
|
|
|
|
[dev-dependencies]
|
|
serde_json = "1.0" # for the "textsend" example
|