a77881d284
* Initial draft for ClientsHandler * Created listener struct * typo * Stateful websocket connection handler * Exposing modules * Depdendencies updates * Moved listener to correct file + made start consume listener * Main starting new listener * Catching sigint * Copied client storage from provider into gateway * Exposed websocket listener type for nicer import path * Defined websocket message receiver concrete type * Client ledger struct without implementation * ClientsHandler using more concrete types * Mixnet sender + receiver and exposed listener type * Handling mix packets * Ability to forward mix packets * "starting" both listeners at main * Depedencies updates * Initial type definitions for client messages
30 lines
825 B
TOML
30 lines
825 B
TOML
[package]
|
|
name = "gateway"
|
|
version = "0.1.0"
|
|
authors = ["Dave Hrycyszyn <futurechimp@users.noreply.github.com>"]
|
|
edition = "2018"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[dependencies]
|
|
dotenv = "0.15.0"
|
|
futures = "0.3"
|
|
log = "0.4"
|
|
pretty_env_logger = "0.3"
|
|
rand = "0.7.2"
|
|
serde = { version = "1.0.104", features = ["derive"] }
|
|
#serde_json = "1.0.44"
|
|
sled = "0.31"
|
|
tokio = { version = "0.2", features = ["full"] }
|
|
tokio-tungstenite = "0.10.1"
|
|
|
|
# internal
|
|
crypto = { path = "../common/crypto" }
|
|
mix-client = { path = "../common/client-libs/mix-client" } # to be removed very soon
|
|
multi-tcp-client = { path = "../common/client-libs/multi-tcp-client" }
|
|
nymsphinx = { path = "../common/nymsphinx" }
|
|
|
|
|
|
[dependencies.tungstenite]
|
|
version = "0.10.0"
|
|
default-features = false |