2022-09-30 04:02:29 +00:00
|
|
|
[package]
|
2022-10-06 21:51:40 +00:00
|
|
|
name = "sd-p2p"
|
2022-09-30 04:02:29 +00:00
|
|
|
version = "0.1.0"
|
2023-03-08 19:18:33 +00:00
|
|
|
description = "Rust Peer to Peer Networking Library"
|
|
|
|
authors = ["Oscar Beaumont <oscar@otbeaumont.me>"]
|
2023-06-14 23:00:28 +00:00
|
|
|
license = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
2022-09-30 04:02:29 +00:00
|
|
|
|
2023-03-08 19:18:33 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
serde = []
|
|
|
|
specta = []
|
2022-10-06 21:32:45 +00:00
|
|
|
|
2023-03-08 19:18:33 +00:00
|
|
|
[dependencies]
|
2023-05-20 01:52:55 +00:00
|
|
|
tokio = { workspace = true, features = [
|
|
|
|
"macros",
|
|
|
|
"sync",
|
|
|
|
"time",
|
|
|
|
"io-util",
|
|
|
|
"fs",
|
|
|
|
] }
|
2023-05-30 09:24:05 +00:00
|
|
|
libp2p = { version = "0.51.3", features = ["tokio", "serde"] }
|
|
|
|
libp2p-quic = { version = "0.7.0-alpha.3", features = ["tokio"] }
|
2023-08-02 11:49:50 +00:00
|
|
|
if-watch = { version = "3.0.1", features = [
|
|
|
|
"tokio",
|
|
|
|
] } # Override the features of if-watch which is used by libp2p-quic
|
2023-03-08 19:18:33 +00:00
|
|
|
mdns-sd = "0.6.1"
|
2023-05-30 09:24:05 +00:00
|
|
|
thiserror = "1.0.40"
|
2023-08-27 06:41:26 +00:00
|
|
|
tracing = { workspace = true }
|
2023-05-30 09:24:05 +00:00
|
|
|
serde = { version = "1.0.163", features = ["derive"] }
|
2023-03-08 19:18:33 +00:00
|
|
|
rmp-serde = "1.1.1"
|
|
|
|
specta = { workspace = true }
|
|
|
|
flume = "0.10.14"
|
2023-05-30 09:24:05 +00:00
|
|
|
tokio-util = { version = "0.7.8", features = ["compat"] }
|
2023-04-11 02:20:14 +00:00
|
|
|
arc-swap = "1.6.0"
|
2023-06-19 05:13:30 +00:00
|
|
|
ed25519-dalek = { version = "1.0.1", features = ["rand"] }
|
|
|
|
rand_core = { version = "0.5.1", feature = ["getrandom"] }
|
2023-07-12 06:23:30 +00:00
|
|
|
uuid = "1.4.0"
|
2023-08-02 11:49:50 +00:00
|
|
|
hex = "0.4.3"
|
2022-10-06 21:32:45 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-01-25 14:36:29 +00:00
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
2023-08-27 06:41:26 +00:00
|
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|