2022-09-30 04:02:29 +00:00
|
|
|
[package]
|
2024-02-21 08:13:40 +00:00
|
|
|
name = "sd-p2p2"
|
|
|
|
version = "0.2.0"
|
2023-03-08 19:18:33 +00:00
|
|
|
description = "Rust Peer to Peer Networking Library"
|
|
|
|
authors = ["Oscar Beaumont <oscar@otbeaumont.me>"]
|
2023-09-05 07:23:07 +00:00
|
|
|
readme = "README.md"
|
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
|
|
|
|
2024-02-21 08:13:40 +00:00
|
|
|
# TODO: Remove features??? and dependencies
|
|
|
|
|
2023-03-08 19:18:33 +00:00
|
|
|
[features]
|
|
|
|
default = []
|
|
|
|
specta = []
|
2022-10-06 21:32:45 +00:00
|
|
|
|
2023-03-08 19:18:33 +00:00
|
|
|
[dependencies]
|
2023-12-19 09:28:57 +00:00
|
|
|
base64 = { workspace = true }
|
|
|
|
pin-project-lite = { workspace = true }
|
2024-02-21 08:13:40 +00:00
|
|
|
serde = { workspace = true, features = ["derive"] }
|
2023-12-19 09:28:57 +00:00
|
|
|
specta = { workspace = true }
|
|
|
|
thiserror = { workspace = true }
|
2023-05-20 01:52:55 +00:00
|
|
|
tokio = { workspace = true, features = [
|
|
|
|
"macros",
|
|
|
|
"sync",
|
|
|
|
"time",
|
|
|
|
"io-util",
|
|
|
|
"fs",
|
|
|
|
] }
|
2023-12-19 09:28:57 +00:00
|
|
|
tokio-stream = { workspace = true, features = ["sync"] }
|
|
|
|
tokio-util = { workspace = true, features = ["compat"] }
|
|
|
|
tracing = { workspace = true }
|
2024-03-12 06:18:58 +00:00
|
|
|
uuid = { workspace = true, features = ["serde"] }
|
2023-12-19 09:28:57 +00:00
|
|
|
|
2024-03-12 06:18:58 +00:00
|
|
|
ed25519-dalek = { version = "2.1.1", features = [] }
|
2024-02-02 09:31:11 +00:00
|
|
|
flume = "=0.11.0" # Must match version used by `mdns-sd`
|
|
|
|
futures-core = "0.3.30"
|
|
|
|
if-watch = { version = "=3.2.0", features = [
|
2023-08-02 11:49:50 +00:00
|
|
|
"tokio",
|
|
|
|
] } # Override the features of if-watch which is used by libp2p-quic
|
2024-03-12 06:18:58 +00:00
|
|
|
libp2p = { version = "0.53.2", features = [
|
|
|
|
"tokio",
|
|
|
|
"serde",
|
|
|
|
"macros",
|
|
|
|
"quic",
|
|
|
|
"autonat",
|
|
|
|
"relay",
|
|
|
|
"yamux",
|
|
|
|
"noise",
|
|
|
|
"dcutr",
|
|
|
|
] }
|
2024-02-21 08:13:40 +00:00
|
|
|
libp2p-stream = "0.1.0-alpha"
|
2024-02-02 09:31:11 +00:00
|
|
|
mdns-sd = "0.10.3"
|
2023-09-12 14:03:25 +00:00
|
|
|
rand_core = { version = "0.6.4" }
|
2023-10-30 08:24:04 +00:00
|
|
|
streamunordered = "0.5.3"
|
2024-02-02 09:31:11 +00:00
|
|
|
zeroize = { version = "1.7.0", features = ["derive"] }
|
|
|
|
base91 = "0.1.0"
|
|
|
|
sha256 = "1.5.0"
|
2024-02-21 08:13:40 +00:00
|
|
|
stable-vec = "0.4.0"
|
|
|
|
hash_map_diff = "0.2.0"
|
|
|
|
sync_wrapper = "0.1.2"
|
2024-03-12 06:18:58 +00:00
|
|
|
reqwest.workspace = true
|
2022-10-06 21:32:45 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2024-02-21 08:13:40 +00:00
|
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
|
|
|
tracing-subscriber = { version = "0.3.18" }
|
2023-12-19 09:28:57 +00:00
|
|
|
uuid = { workspace = true, features = ["v4"] }
|