mirror of
https://github.com/hinto-janai/cuprate.git
synced 2024-12-23 03:59:37 +00:00
Boog900
75306babf8
* init D++ * init D++ router * working D++ router * add test * D++ tx pool * add more txpool docs * add a txpool builder * add tracing * add more docs * fix doc * reduce test epoch (windows CI fail) * generate first state in config Windows seems to not allows taking a big value from an instant * extend tests * clippy * review comments + more docs * Apply suggestions from code review Co-authored-by: hinto-janai <hinto.janai@protonmail.com> * update Cargo.lock * rename txpool.rs -> pool.rs * review comments * Update p2p/dandelion/src/tests/router.rs Co-authored-by: hinto-janai <hinto.janai@protonmail.com> * Update p2p/dandelion/src/router.rs Co-authored-by: hinto-janai <hinto.janai@protonmail.com> --------- Co-authored-by: hinto-janai <hinto.janai@protonmail.com>
27 lines
No EOL
854 B
TOML
27 lines
No EOL
854 B
TOML
[package]
|
|
name = "dandelion_tower"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
|
|
[features]
|
|
default = ["txpool"]
|
|
txpool = ["dep:rand_distr", "dep:tokio-util", "dep:tokio"]
|
|
|
|
[dependencies]
|
|
tower = { workspace = true, features = ["discover", "util"] }
|
|
tracing = { workspace = true, features = ["std"] }
|
|
|
|
futures = { workspace = true, features = ["std"] }
|
|
tokio = { workspace = true, features = ["rt", "sync", "macros"], optional = true}
|
|
tokio-util = { workspace = true, features = ["time"], optional = true }
|
|
|
|
rand = { workspace = true, features = ["std", "std_rng"] }
|
|
rand_distr = { workspace = true, features = ["std"], optional = true }
|
|
|
|
thiserror = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros", "sync"] }
|
|
proptest = { workspace = true, features = ["default"] } |