mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-22 19:49:28 +00:00
Boog900
b510739701
* p2p changes * clippy * a few more docs * init cuprate-p2p * remove some unrelated code and add some docs * start documenting client_pool.rs * add more docs * typo * fix docs * use JoinSet in connection maintainer * small changes * add peer sync state svc * add broadcast svc * add more docs * add some tests * add a test * fix merge * add another test * unify PeerDisconnectFut and add more docs * start network init * add an inbound connection server * remove crate doc for now * fix address book docs * fix leak in client pool * correct comment * fix merge + add some docs * fix doc * dandelion_tower -> dandelion-tower * fix async-buffer builds * check if incoming peers are banned * add interface methods * update docs * use a JoinSet for background network tasks * Apply suggestions from code review Co-authored-by: hinto-janai <hinto.janai@protonmail.com> * Update p2p/monero-p2p/src/services.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"] } |