2023-11-30 18:09:05 +00:00
|
|
|
[package]
|
2023-12-08 15:03:01 +00:00
|
|
|
name = "monero-p2p"
|
2023-11-30 18:09:05 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
2023-12-08 15:03:01 +00:00
|
|
|
license = "MIT"
|
|
|
|
authors = ["Boog900"]
|
2023-11-30 18:09:05 +00:00
|
|
|
|
|
|
|
[features]
|
2023-12-08 15:03:01 +00:00
|
|
|
default = ["borsh"]
|
2024-01-22 01:56:34 +00:00
|
|
|
borsh = ["dep:borsh", "monero-pruning/borsh"]
|
2023-11-30 18:09:05 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-01-22 01:56:34 +00:00
|
|
|
cuprate-helper = { path = "../../helper" }
|
2024-03-05 01:29:57 +00:00
|
|
|
monero-wire = { path = "../../net/monero-wire", features = ["tracing"] }
|
2024-01-22 01:56:34 +00:00
|
|
|
monero-pruning = { path = "../../pruning" }
|
2023-11-30 18:09:05 +00:00
|
|
|
|
2024-01-22 18:18:15 +00:00
|
|
|
tokio = { workspace = true, features = ["net", "sync", "macros", "time"]}
|
2024-01-21 14:46:03 +00:00
|
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
|
|
tokio-stream = { workspace = true, features = ["sync"]}
|
2024-01-21 15:18:25 +00:00
|
|
|
futures = { workspace = true, features = ["std", "async-await"] }
|
2024-01-21 14:46:03 +00:00
|
|
|
async-trait = { workspace = true }
|
|
|
|
tower = { workspace = true, features = ["util"] }
|
2023-11-30 18:09:05 +00:00
|
|
|
|
2024-01-21 14:46:03 +00:00
|
|
|
thiserror = { workspace = true }
|
2024-03-20 20:58:12 +00:00
|
|
|
tracing = { workspace = true, features = ["std", "attributes"] }
|
2023-11-30 18:09:05 +00:00
|
|
|
|
2024-01-21 14:46:03 +00:00
|
|
|
borsh = { workspace = true, default-features = false, features = ["derive", "std"], optional = true }
|
2023-12-08 15:03:01 +00:00
|
|
|
|
2023-11-30 18:09:05 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
cuprate-test-utils = {path = "../../test-utils"}
|
|
|
|
|
2024-02-25 21:21:25 +00:00
|
|
|
hex = { workspace = true, features = ["std"] }
|
2024-01-21 14:46:03 +00:00
|
|
|
tokio = { workspace = true, features = ["net", "rt-multi-thread", "rt", "macros"]}
|
|
|
|
tracing-subscriber = { workspace = true }
|