mirror of
https://github.com/Cuprate/cuprate.git
synced 2024-12-23 03:59:31 +00:00
Boog900
93372fa4b5
* use tokio's delay queue for bans * document handles * remove peers from address book when retrieving * ping inbound peers during handshakes * support receiving pings during handshakes * add peer to anchor before reducing whit list * clippy * comment handshakes * typos * sort `use` * use `rand::prelude::*` * review comments * update macro
34 lines
1.1 KiB
TOML
34 lines
1.1 KiB
TOML
[package]
|
|
name = "monero-p2p"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
authors = ["Boog900"]
|
|
|
|
[features]
|
|
default = ["borsh"]
|
|
borsh = ["dep:borsh", "monero-pruning/borsh"]
|
|
|
|
[dependencies]
|
|
cuprate-helper = { path = "../../helper" }
|
|
monero-wire = { path = "../../net/monero-wire", features = ["tracing"] }
|
|
monero-pruning = { path = "../../pruning" }
|
|
|
|
tokio = { workspace = true, features = ["net", "sync", "macros", "time"]}
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
tokio-stream = { workspace = true, features = ["sync"]}
|
|
futures = { workspace = true, features = ["std", "async-await"] }
|
|
async-trait = { workspace = true }
|
|
tower = { workspace = true, features = ["util"] }
|
|
|
|
thiserror = { workspace = true }
|
|
tracing = { workspace = true, features = ["std", "attributes"] }
|
|
|
|
borsh = { workspace = true, default-features = false, features = ["derive", "std"], optional = true }
|
|
|
|
[dev-dependencies]
|
|
cuprate-test-utils = {path = "../../test-utils"}
|
|
|
|
hex = { workspace = true, features = ["std"] }
|
|
tokio = { workspace = true, features = ["net", "rt-multi-thread", "rt", "macros"]}
|
|
tracing-subscriber = { workspace = true }
|