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"]
|
|
|
|
borsh = ["dep:borsh"]
|
2023-11-30 18:09:05 +00:00
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
monero-wire = {path= "../../net/monero-wire"}
|
2023-12-08 15:03:01 +00:00
|
|
|
cuprate-common = {path = "../../common", features = ["borsh"]}
|
2023-11-30 18:09:05 +00:00
|
|
|
|
|
|
|
tokio = {version= "1.34.0", default-features = false, features = ["net"]}
|
|
|
|
tokio-util = { version = "0.7.10", default-features = false, features = ["codec"] }
|
|
|
|
futures = "0.3.29"
|
|
|
|
async-trait = "0.1.74"
|
|
|
|
tower = { version= "0.4.13", features = ["util"] }
|
|
|
|
|
2023-12-08 15:03:01 +00:00
|
|
|
thiserror = "1.0.50"
|
2023-11-30 18:09:05 +00:00
|
|
|
tracing = "0.1.40"
|
|
|
|
|
2023-12-08 15:03:01 +00:00
|
|
|
borsh = {version = "1.2.1", default-features = false, features = ["derive", "std"], optional = true }
|
|
|
|
|
2023-11-30 18:09:05 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
cuprate-test-utils = {path = "../../test-utils"}
|
|
|
|
|
|
|
|
hex = "0.4.3"
|
|
|
|
tokio = {version= "1.34.0", default-features = false, features = ["net", "rt-multi-thread", "rt", "macros"]}
|
|
|
|
tracing-subscriber = "0.3"
|