mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-13 13:04:04 +00:00
405fb023d8
* Clean up and update rust dependencies * Attempt to fix Windows Error
73 lines
1.8 KiB
TOML
73 lines
1.8 KiB
TOML
[package]
|
|
name = "sd-p2p"
|
|
version = "0.2.0"
|
|
description = "Rust Peer to Peer Networking Library"
|
|
authors = ["Oscar Beaumont <oscar@otbeaumont.me>"]
|
|
readme = "README.md"
|
|
license = { workspace = true }
|
|
repository = { workspace = true }
|
|
edition = { workspace = true }
|
|
|
|
# TODO: Remove features??? and dependencies
|
|
|
|
[features]
|
|
default = []
|
|
specta = []
|
|
|
|
[dependencies]
|
|
# Workspace dependencies
|
|
base64 = { workspace = true }
|
|
base91 = { workspace = true }
|
|
ed25519-dalek = { workspace = true }
|
|
futures = { workspace = true }
|
|
pin-project-lite = { workspace = true }
|
|
reqwest = { workspace = true }
|
|
rmp-serde = { workspace = true }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
specta = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
tokio = { workspace = true, features = [
|
|
"macros",
|
|
"sync",
|
|
"time",
|
|
"io-util",
|
|
"fs",
|
|
] }
|
|
tokio-stream = { workspace = true, features = ["sync"] }
|
|
tokio-util = { workspace = true, features = ["compat"] }
|
|
tracing = { workspace = true }
|
|
uuid = { workspace = true, features = ["serde"] }
|
|
|
|
# Specific P2P dependencies
|
|
dns-lookup = "2.0"
|
|
flume = "=0.11.0" # Must match version used by `mdns-sd`
|
|
futures-core = "0.3.30"
|
|
hash_map_diff = "0.2.0"
|
|
if-watch = { version = "=3.2.0", features = [
|
|
"tokio",
|
|
] } # Override features used by libp2p-quic
|
|
libp2p = { version = "=0.53.2", features = [
|
|
"tokio",
|
|
"serde",
|
|
"macros",
|
|
"quic",
|
|
"autonat",
|
|
"relay",
|
|
"yamux",
|
|
"noise",
|
|
"dcutr",
|
|
] } # Update blocked due to custom patch
|
|
libp2p-stream = "=0.1.0-alpha" # Update blocked due to custom patch
|
|
mdns-sd = "0.11.1"
|
|
rand_core = "0.6.4"
|
|
sha256 = "1.5.0"
|
|
stable-vec = "0.4.1"
|
|
streamunordered = "0.5.3"
|
|
sync_wrapper = "1.0"
|
|
zeroize = { version = "1.8", features = ["derive"] }
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
|
|
tracing-subscriber = { workspace = true }
|
|
uuid = { workspace = true, features = ["v4"] }
|