[package] name = "monero-p2p" version = "0.1.0" edition = "2021" license = "MIT" authors = ["Boog900"] [features] default = ["borsh"] borsh = ["dep:borsh"] [dependencies] monero-wire = {path= "../../net/monero-wire"} cuprate-common = {path = "../../common", features = ["borsh"]} tokio = {version= "1.34.0", default-features = false, features = ["net", "sync"]} tokio-util = { version = "0.7.10", default-features = false, features = ["codec"] } tokio-stream = {version = "0.1.14", default-features = false, features = ["sync"]} futures = "0.3.29" async-trait = "0.1.74" tower = { version= "0.4.13", features = ["util"] } thiserror = "1.0.50" tracing = "0.1.40" borsh = {version = "1.2.1", default-features = false, features = ["derive", "std"], optional = true } [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"