mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-06 23:43:32 +00:00
b015763a6f
* Remove relay * restructure p2p * wip * cleanup webrtc * split up P2P docs * wip * more wip * the fork has moved * finish local network discovery * Document the relay system * be less stupid * a * remote ip from deploy script * remove debug from deploy script * Explain relay setup and usage * Physical pain * fix * error handling for relay setup * Listeners Relay state + merge it into NLM state * `node_remote_identity` * redo libraries hook * toggle relay active in settings * Dedicated network settings page * Stablise P2P debug page * warning for rspc remote * Linear links in docs * fix p2p settings switches * fix typescript errors on general page * fix ipv6 listener status * discovery method in UI * Remove p2p debug menu on the sidebar * wip * lol * wat * fix * another attempt at fixing library hook * fix * Remove sync from sidebar * fix load library code * I hate this * Detect connections over the relay * fix * fixes * a * fix mDNS * a bunch o fixes * a bunch of state management fixes * Metadata sync on connection * skill issue * fix markdown * Clippy cleanup * Backport #2380 * Update interface/locales/en/common.json Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/local-network-discovery.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/local-network-discovery.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/relay.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/relay.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/relay.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/relay.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/relay.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/sd_p2p.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/sd_p2p.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/sd_p2p_proto.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/overview.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/overview.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/relay.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/sd_p2p_proto.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/sd_p2p_proto.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/transport-layer.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/sd_p2p_proto.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/local-network-discovery.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * Update docs/developers/p2p/sd_p2p_proto.mdx Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com> * a * Cleaning binario section * cleanup Docker message * idk * Idempotent listeners * Manual peers working???? * minor fixes * crazy idea - don't panic in the event loop * fixes * debug * debug * LAN badge in network settings * Use `dns_lookup` instead of `tokio::net::lookup_host` * fix * bruh sandwich * proper dialing * a * remove logs * fix * Small cleanup * manual peers state on connected device * a * Fix manual discovery state + give it a badge * Clippy improvements * flip discovery priority * Add `addrs` to debug query * connection candidates in debug * Fix state * Clippppppppppppy * Manual discovery badge * Flesh out ping example * Usage guide * `sd_p2p_proto` examples * More discovery docs * More docs work * docs docs docs and more docs * PONG * rename --------- Co-authored-by: Matthew Yung <117509016+myung03@users.noreply.github.com>
134 lines
4 KiB
TOML
134 lines
4 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"core",
|
|
"core/crates/*",
|
|
"crates/*",
|
|
"apps/cli",
|
|
"apps/p2p-relay",
|
|
"apps/desktop/src-tauri",
|
|
"apps/desktop/crates/*",
|
|
"apps/mobile/modules/sd-core/core",
|
|
"apps/mobile/modules/sd-core/android/crate",
|
|
"apps/mobile/modules/sd-core/ios/crate",
|
|
"apps/server",
|
|
]
|
|
|
|
[workspace.package]
|
|
license = "AGPL-3.0-only"
|
|
edition = "2021"
|
|
repository = "https://github.com/spacedriveapp/spacedrive"
|
|
|
|
[workspace.dependencies]
|
|
prisma-client-rust = { git = "https://github.com/brendonovich/prisma-client-rust", rev = "4f9ef9d38ca732162accff72b2eb684d2f120bab", features = [
|
|
"migrations",
|
|
"specta",
|
|
"sqlite",
|
|
"sqlite-create-many",
|
|
], default-features = false }
|
|
prisma-client-rust-cli = { git = "https://github.com/brendonovich/prisma-client-rust", rev = "4f9ef9d38ca732162accff72b2eb684d2f120bab", features = [
|
|
"migrations",
|
|
"specta",
|
|
"sqlite",
|
|
"sqlite-create-many",
|
|
], default-features = false }
|
|
prisma-client-rust-sdk = { git = "https://github.com/brendonovich/prisma-client-rust", rev = "4f9ef9d38ca732162accff72b2eb684d2f120bab", features = [
|
|
"sqlite",
|
|
], default-features = false }
|
|
|
|
rspc = { version = "0.1.4" }
|
|
specta = { version = "=2.0.0-rc.11" }
|
|
tauri-specta = { version = "=2.0.0-rc.8" }
|
|
|
|
swift-rs = { version = "1.0.6" }
|
|
|
|
# Third party dependencies used by one or more of our crates
|
|
anyhow = "1.0.75"
|
|
async-channel = "2.0.0"
|
|
async-trait = "0.1.77"
|
|
axum = "=0.6.20"
|
|
base64 = "0.21.5"
|
|
blake3 = "1.5.0"
|
|
chrono = "0.4.38"
|
|
clap = "4.4.7"
|
|
futures = "0.3.30"
|
|
futures-concurrency = "7.6.0"
|
|
globset = "^0.4.13"
|
|
hex = "0.4.3"
|
|
http = "0.2.9"
|
|
image = "0.25.1"
|
|
itertools = "0.12.0"
|
|
lending-stream = "1.0.0"
|
|
libc = "0.2"
|
|
normpath = "1.1.1"
|
|
once_cell = "1.19.0"
|
|
pin-project-lite = "0.2.13"
|
|
rand = "0.8.5"
|
|
rand_chacha = "0.3.1"
|
|
regex = "1.10.2"
|
|
reqwest = "0.11.22"
|
|
rmp-serde = "1.1.2"
|
|
rmpv = { version = "^1.0.1", features = ["with-serde"] }
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
static_assertions = "1.1.0"
|
|
strum = "0.25"
|
|
strum_macros = "0.25"
|
|
tempfile = "3.8.1"
|
|
thiserror = "1.0.50"
|
|
tokio = "1.36.0"
|
|
tokio-stream = "0.1.14"
|
|
tokio-util = "0.7.10"
|
|
tracing = "0.1.40"
|
|
tracing-subscriber = "0.3.18"
|
|
tracing-appender = "0.2.3"
|
|
tracing-test = "^0.2.4"
|
|
uhlc = "=0.5.2"
|
|
uuid = "1.5.0"
|
|
webp = "0.3.0"
|
|
|
|
[patch.crates-io]
|
|
# Proper IOS Support
|
|
if-watch = { git = "https://github.com/spacedriveapp/if-watch.git", rev = "a92c17d3f85c1c6fb0afeeaf6c2b24d0b147e8c3" }
|
|
|
|
# We hack it to the high heavens
|
|
rspc = { git = "https://github.com/spacedriveapp/rspc.git", rev = "ab12964b140991e0730c3423693533fba71efb03" }
|
|
|
|
# Add `Control::open_stream_with_addrs`
|
|
libp2p = { git = "https://github.com/spacedriveapp/rust-libp2p.git", rev = "a005656df7e82059a0eb2e333ebada4731d23f8c" }
|
|
libp2p-core = { git = "https://github.com/spacedriveapp/rust-libp2p.git", rev = "a005656df7e82059a0eb2e333ebada4731d23f8c" }
|
|
libp2p-swarm = { git = "https://github.com/spacedriveapp/rust-libp2p.git", rev = "a005656df7e82059a0eb2e333ebada4731d23f8c" }
|
|
libp2p-stream = { git = "https://github.com/spacedriveapp/rust-libp2p.git", rev = "a005656df7e82059a0eb2e333ebada4731d23f8c" }
|
|
|
|
blake3 = { git = "https://github.com/spacedriveapp/blake3.git", rev = "d3aab416c12a75c2bfabce33bcd594e428a79069" }
|
|
|
|
# Due to image crate version bump
|
|
pdfium-render = { git = "https://github.com/fogodev/pdfium-render.git", rev = "e7aa1111f441c49e857cebda15b4e51b24356aaa" }
|
|
|
|
[profile.dev]
|
|
# Make compilation faster on macOS
|
|
split-debuginfo = "unpacked"
|
|
opt-level = 0
|
|
debug = 0
|
|
strip = "none"
|
|
lto = false
|
|
codegen-units = 256
|
|
incremental = true
|
|
|
|
# Set the settings for build scripts and proc-macros.
|
|
[profile.dev.build-override]
|
|
opt-level = 3
|
|
|
|
# Set the default for dependencies, except workspace members.
|
|
[profile.dev.package."*"]
|
|
opt-level = 3
|
|
incremental = false
|
|
|
|
# Optimize release builds
|
|
[profile.release]
|
|
panic = "abort" # Strip expensive panic clean-up logic
|
|
codegen-units = 1 # Compile crates one after another so the compiler can optimize better
|
|
lto = true # Enables link to optimizations
|
|
opt-level = "s" # Optimize for binary size
|
|
strip = true # Remove debug symbols
|