2023-11-30 18:09:05 +00:00
|
|
|
[package]
|
2024-06-24 01:30:47 +00:00
|
|
|
name = "cuprate-p2p-core"
|
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-06-24 01:30:47 +00:00
|
|
|
borsh = ["dep:borsh", "cuprate-pruning/borsh"]
|
2023-11-30 18:09:05 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2024-06-22 00:29:40 +00:00
|
|
|
cuprate-helper = { path = "../../helper", features = ["asynch"], default-features = false }
|
2024-06-24 01:30:47 +00:00
|
|
|
cuprate-wire = { path = "../../net/wire", features = ["tracing"] }
|
|
|
|
cuprate-pruning = { path = "../../pruning" }
|
2023-11-30 18:09:05 +00:00
|
|
|
|
2024-09-21 00:37:06 +00:00
|
|
|
tokio = { workspace = true, features = ["net", "sync", "macros", "time", "rt", "rt-multi-thread"]}
|
2024-01-21 14:46:03 +00:00
|
|
|
tokio-util = { workspace = true, features = ["codec"] }
|
|
|
|
tokio-stream = { workspace = true, features = ["sync"]}
|
2024-05-02 22:58:22 +00:00
|
|
|
futures = { workspace = true, features = ["std"] }
|
2024-01-21 14:46:03 +00:00
|
|
|
async-trait = { workspace = true }
|
2024-09-30 22:19:53 +00:00
|
|
|
tower = { workspace = true, features = ["util", "tracing", "make"] }
|
2023-11-30 18:09:05 +00:00
|
|
|
|
2024-09-21 00:37:06 +00:00
|
|
|
cfg-if = { workspace = true }
|
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"] }
|
2024-07-04 20:05:22 +00:00
|
|
|
hex-literal = { workspace = true }
|
2023-11-30 18:09:05 +00:00
|
|
|
|
2024-05-02 22:58:22 +00:00
|
|
|
borsh = { workspace = true, features = ["derive", "std"], optional = true }
|
2023-12-08 15:03:01 +00:00
|
|
|
|
2023-11-30 18:09:05 +00:00
|
|
|
[dev-dependencies]
|
2024-09-21 00:37:06 +00:00
|
|
|
cuprate-test-utils = { path = "../../test-utils" }
|
2023-11-30 18:09:05 +00:00
|
|
|
|
2024-02-25 21:21:25 +00:00
|
|
|
hex = { workspace = true, features = ["std"] }
|
2024-07-04 20:05:22 +00:00
|
|
|
tokio-test = { workspace = true }
|
2024-09-21 00:37:06 +00:00
|
|
|
|
|
|
|
[lints]
|
|
|
|
workspace = true
|