2022-03-30 08:14:50 +00:00
|
|
|
[workspace]
|
2022-10-13 07:03:43 +00:00
|
|
|
resolver = "2"
|
2022-03-30 08:14:50 +00:00
|
|
|
members = [
|
2024-03-13 05:34:14 +00:00
|
|
|
"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",
|
2022-03-30 08:14:50 +00:00
|
|
|
]
|
2022-08-29 11:59:09 +00:00
|
|
|
|
2023-05-20 01:52:55 +00:00
|
|
|
[workspace.package]
|
|
|
|
license = "AGPL-3.0-only"
|
|
|
|
edition = "2021"
|
|
|
|
repository = "https://github.com/spacedriveapp/spacedrive"
|
|
|
|
|
2022-10-04 09:32:46 +00:00
|
|
|
[workspace.dependencies]
|
2023-12-19 09:28:57 +00:00
|
|
|
# First party dependencies
|
2024-01-22 02:17:27 +00:00
|
|
|
prisma-client-rust = { git = "https://github.com/spacedriveapp/prisma-client-rust", rev = "f99d6f5566570f3ab1edecb7a172ad25b03d95af", features = [
|
2024-03-13 05:34:14 +00:00
|
|
|
"specta",
|
|
|
|
"sqlite-create-many",
|
|
|
|
"migrations",
|
|
|
|
"sqlite",
|
2023-06-16 00:22:11 +00:00
|
|
|
], default-features = false }
|
2024-01-22 02:17:27 +00:00
|
|
|
prisma-client-rust-cli = { git = "https://github.com/spacedriveapp/prisma-client-rust", rev = "f99d6f5566570f3ab1edecb7a172ad25b03d95af", features = [
|
2024-03-13 05:34:14 +00:00
|
|
|
"specta",
|
|
|
|
"sqlite-create-many",
|
|
|
|
"migrations",
|
|
|
|
"sqlite",
|
2023-06-16 00:22:11 +00:00
|
|
|
], default-features = false }
|
2024-01-22 02:17:27 +00:00
|
|
|
prisma-client-rust-sdk = { git = "https://github.com/spacedriveapp/prisma-client-rust", rev = "f99d6f5566570f3ab1edecb7a172ad25b03d95af", features = [
|
2024-03-13 05:34:14 +00:00
|
|
|
"sqlite",
|
2023-06-16 00:22:11 +00:00
|
|
|
], default-features = false }
|
2022-10-21 21:43:39 +00:00
|
|
|
|
2023-12-07 10:22:26 +00:00
|
|
|
tracing = "0.1.40"
|
|
|
|
tracing-subscriber = "0.3.18"
|
|
|
|
tracing-appender = "0.2.3"
|
2023-08-27 06:41:26 +00:00
|
|
|
|
2023-04-25 07:14:52 +00:00
|
|
|
rspc = { version = "0.1.4" }
|
2023-12-05 13:16:03 +00:00
|
|
|
specta = { version = "=2.0.0-rc.7" }
|
|
|
|
tauri-specta = { version = "=2.0.0-rc.4" }
|
2022-10-04 09:32:46 +00:00
|
|
|
|
2023-09-12 14:03:25 +00:00
|
|
|
swift-rs = { version = "1.0.6" }
|
2023-01-17 14:37:32 +00:00
|
|
|
|
2023-12-19 09:28:57 +00:00
|
|
|
|
|
|
|
# Third party dependencies used by one or more of our crates
|
|
|
|
anyhow = "1.0.75"
|
|
|
|
async-channel = "2.0.0"
|
2024-02-26 19:45:58 +00:00
|
|
|
async-trait = "0.1.77"
|
2024-02-29 07:46:30 +00:00
|
|
|
axum = "=0.6.20"
|
2023-12-19 09:28:57 +00:00
|
|
|
base64 = "0.21.5"
|
|
|
|
blake3 = "1.5.0"
|
|
|
|
chrono = "0.4.31"
|
|
|
|
clap = "4.4.7"
|
2024-02-21 08:13:40 +00:00
|
|
|
futures = "0.3.30"
|
2023-12-19 09:28:57 +00:00
|
|
|
futures-concurrency = "7.4.3"
|
2024-04-08 14:32:44 +00:00
|
|
|
globset = "^0.4.13"
|
2023-12-19 09:28:57 +00:00
|
|
|
hex = "0.4.3"
|
|
|
|
http = "0.2.9"
|
|
|
|
image = "0.24.7"
|
2024-04-08 14:32:44 +00:00
|
|
|
itertools = "0.12.0"
|
|
|
|
lending-stream = "1.0.0"
|
2023-12-19 09:28:57 +00:00
|
|
|
normpath = "1.1.1"
|
|
|
|
once_cell = "1.18.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"
|
2024-03-06 10:15:29 +00:00
|
|
|
rmpv = { version = "^1.0.1", features = ["with-serde"] }
|
2023-12-19 09:28:57 +00:00
|
|
|
serde = "1.0"
|
|
|
|
serde_json = "1.0"
|
2024-04-25 04:06:11 +00:00
|
|
|
static_assertions = "1.1.0"
|
2023-12-19 09:28:57 +00:00
|
|
|
strum = "0.25"
|
|
|
|
strum_macros = "0.25"
|
|
|
|
tempfile = "3.8.1"
|
|
|
|
thiserror = "1.0.50"
|
2024-02-21 08:13:40 +00:00
|
|
|
tokio = "1.36.0"
|
2023-12-19 09:28:57 +00:00
|
|
|
tokio-stream = "0.1.14"
|
|
|
|
tokio-util = "0.7.10"
|
|
|
|
uhlc = "=0.5.2"
|
|
|
|
uuid = "1.5.0"
|
|
|
|
webp = "0.2.6"
|
2023-01-25 14:36:29 +00:00
|
|
|
|
2024-04-08 14:32:44 +00:00
|
|
|
[workspace.dev-dependencies]
|
|
|
|
tracing-test = { version = "^0.2.4" }
|
|
|
|
|
2022-08-29 11:59:09 +00:00
|
|
|
[patch.crates-io]
|
2023-09-13 10:07:26 +00:00
|
|
|
# Proper IOS Support
|
2024-02-02 09:31:11 +00:00
|
|
|
if-watch = { git = "https://github.com/oscartbeaumont/if-watch.git", rev = "a92c17d3f85c1c6fb0afeeaf6c2b24d0b147e8c3" }
|
2023-09-13 10:07:26 +00:00
|
|
|
|
2024-02-21 08:13:40 +00:00
|
|
|
# We hack it to the high heavens
|
2023-12-05 13:16:03 +00:00
|
|
|
rspc = { git = "https://github.com/spacedriveapp/rspc.git", rev = "f3347e2e8bfe3f37bfacc437ca329fe71cdcb048" }
|
2023-12-20 02:16:05 +00:00
|
|
|
|
2024-01-08 06:42:17 +00:00
|
|
|
# `cursor_position` method
|
|
|
|
tauri = { git = "https://github.com/spacedriveapp/tauri.git", rev = "8409af71a83d631ff9d1cd876c441a57511a1cbd" }
|
|
|
|
tao = { git = "https://github.com/spacedriveapp/tao", rev = "7880adbc090402c44fbcf006669458fa82623403" }
|
|
|
|
|
2024-02-21 08:13:40 +00:00
|
|
|
# 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" }
|
|
|
|
|
2024-03-07 08:00:37 +00:00
|
|
|
# aes = { git = "https://github.com/RustCrypto/block-ciphers", rev = "5837233f86419dbe75b8e3824349e30f6bc40b22" }
|
|
|
|
|
|
|
|
blake3 = { git = "https://github.com/brxken128/blake3", rev = "d3aab416c12a75c2bfabce33bcd594e428a79069" }
|
|
|
|
|
2024-02-21 09:27:40 +00:00
|
|
|
[profile.dev]
|
|
|
|
# Make compilation faster on macOS
|
|
|
|
split-debuginfo = "unpacked"
|
|
|
|
|
2023-12-20 02:16:05 +00:00
|
|
|
# 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
|