mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-20 08:19:11 +00:00
* P2P Debug route * Remove legacy peer to peer pairing process * Fix error typo * Sync instances with cloud * Upgrade deps + extended instance data * Create instance with extended metadata * Auto sync instances * Actually `.await` * bruh * sync library info * this isn't gonna work * only sleep cloud receiver when no more messages (#1985) * [ENG-1567] Fix renaming (#1986) fix rename * only sleep cloud receiver when no more messages * use in memory instances during cloud receive (#1995) * use in memory instances during cloud receive * is_empty --------- Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com> * fix type error * wip * make mdns mdns better * response * remove renames --------- Co-authored-by: Brendan Allan <brendonovich@outlook.com> Co-authored-by: nikec <43032218+niikeec@users.noreply.github.com>
55 lines
1.5 KiB
TOML
55 lines
1.5 KiB
TOML
[package]
|
|
name = "sd-p2p"
|
|
version = "0.1.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 }
|
|
|
|
[features]
|
|
default = []
|
|
serde = []
|
|
specta = []
|
|
|
|
[dependencies]
|
|
base64 = { workspace = true }
|
|
pin-project-lite = { workspace = true }
|
|
serde = { workspace = true, features = [
|
|
"derive",
|
|
] } # TODO: Optional or remove feature
|
|
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 }
|
|
|
|
ed25519-dalek = { version = "2.1.0", features = [] }
|
|
flume = "=0.11.0" # Must match version used by `mdns-sd`
|
|
futures-core = "0.3.30"
|
|
if-watch = { version = "=3.2.0", features = [
|
|
"tokio",
|
|
] } # Override the features of if-watch which is used by libp2p-quic
|
|
libp2p = { version = "0.53.2", features = ["tokio", "serde"] }
|
|
libp2p-quic = { version = "0.10.2", features = ["tokio"] }
|
|
mdns-sd = "0.10.3"
|
|
rand_core = { version = "0.6.4" }
|
|
streamunordered = "0.5.3"
|
|
zeroize = { version = "1.7.0", features = ["derive"] }
|
|
base91 = "0.1.0"
|
|
sha256 = "1.5.0"
|
|
|
|
[dev-dependencies]
|
|
tokio = { workspace = true, features = ["rt-multi-thread"] }
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
uuid = { workspace = true, features = ["v4"] }
|