2021-12-24 09:13:21 +00:00
|
|
|
[package]
|
2022-10-04 12:25:12 +00:00
|
|
|
name = "sd-core"
|
2023-11-25 01:12:00 +00:00
|
|
|
version = "0.1.4"
|
2022-06-14 20:13:09 +00:00
|
|
|
description = "Virtual distributed filesystem engine that powers Spacedrive."
|
|
|
|
authors = ["Spacedrive Technology Inc."]
|
2023-11-17 22:47:06 +00:00
|
|
|
rust-version = "1.73.0"
|
2023-06-14 23:00:28 +00:00
|
|
|
license = { workspace = true }
|
|
|
|
repository = { workspace = true }
|
|
|
|
edition = { workspace = true }
|
2021-12-24 09:13:21 +00:00
|
|
|
|
2022-04-25 08:42:37 +00:00
|
|
|
[features]
|
2023-03-08 19:18:33 +00:00
|
|
|
default = []
|
2023-07-05 18:22:56 +00:00
|
|
|
# This feature allows features to be disabled when the Core is running on mobile.
|
|
|
|
mobile = []
|
|
|
|
# This feature controls whether the Spacedrive Core contains functionality which requires FFmpeg.
|
|
|
|
ffmpeg = ["dep:sd-ffmpeg"]
|
2023-01-25 14:36:29 +00:00
|
|
|
location-watcher = ["dep:notify"]
|
2023-09-07 14:08:17 +00:00
|
|
|
heif = ["sd-images/heif"]
|
2023-12-19 09:28:57 +00:00
|
|
|
ai = ["dep:sd-ai"]
|
2022-04-25 08:42:37 +00:00
|
|
|
|
2021-12-24 09:13:21 +00:00
|
|
|
[dependencies]
|
2023-12-19 09:28:57 +00:00
|
|
|
# Sub-crates
|
|
|
|
sd-cache = { path = "../crates/cache" }
|
|
|
|
sd-core-sync = { path = "./crates/sync" }
|
|
|
|
# sd-cloud-api = { path = "../crates/cloud-api" }
|
2023-03-15 16:09:36 +00:00
|
|
|
sd-crypto = { path = "../crates/crypto", features = [
|
2023-12-05 13:16:03 +00:00
|
|
|
"rspc",
|
|
|
|
"specta",
|
|
|
|
"serde",
|
|
|
|
"keymanager",
|
2023-03-15 16:09:36 +00:00
|
|
|
] }
|
2023-12-19 09:28:57 +00:00
|
|
|
sd-file-path-helper = { path = "../crates/file-path-helper" }
|
|
|
|
sd-ffmpeg = { path = "../crates/ffmpeg", optional = true }
|
|
|
|
sd-file-ext = { path = "../crates/file-ext" }
|
2023-10-20 08:22:36 +00:00
|
|
|
sd-images = { path = "../crates/images", features = [
|
2023-12-05 13:16:03 +00:00
|
|
|
"rspc",
|
|
|
|
"serde",
|
|
|
|
"specta",
|
2023-10-20 08:22:36 +00:00
|
|
|
] }
|
2023-12-19 09:28:57 +00:00
|
|
|
sd-media-metadata = { path = "../crates/media-metadata" }
|
2023-03-08 19:18:33 +00:00
|
|
|
sd-p2p = { path = "../crates/p2p", features = ["specta", "serde"] }
|
2023-12-19 09:28:57 +00:00
|
|
|
sd-prisma = { path = "../crates/prisma" }
|
|
|
|
sd-ai = { path = "../crates/ai", optional = true }
|
|
|
|
sd-sync = { path = "../crates/sync" }
|
2023-07-24 15:26:00 +00:00
|
|
|
sd-utils = { path = "../crates/utils" }
|
2023-12-19 09:28:57 +00:00
|
|
|
sd-cloud-api = { version = "0.1.0", path = "../crates/cloud-api" }
|
2023-12-06 16:47:51 +00:00
|
|
|
|
2023-03-08 19:18:33 +00:00
|
|
|
|
2023-12-19 09:28:57 +00:00
|
|
|
# Workspace dependencies
|
|
|
|
async-channel = { workspace = true }
|
|
|
|
axum = { workspace = true }
|
|
|
|
base64 = { workspace = true }
|
|
|
|
blake3 = { workspace = true }
|
|
|
|
chrono = { workspace = true, features = ["serde"] }
|
|
|
|
futures = { workspace = true }
|
|
|
|
futures-concurrency = { workspace = true }
|
|
|
|
image = { workspace = true }
|
|
|
|
normpath = { workspace = true, features = ["localization"] }
|
|
|
|
once_cell = { workspace = true }
|
|
|
|
pin-project-lite = { workspace = true }
|
|
|
|
prisma-client-rust = { workspace = true }
|
|
|
|
regex = { workspace = true }
|
|
|
|
reqwest = { workspace = true, features = ["json", "native-tls-vendored"] }
|
|
|
|
rmp-serde = { workspace = true }
|
2023-05-10 04:44:27 +00:00
|
|
|
rspc = { workspace = true, features = [
|
2023-12-05 13:16:03 +00:00
|
|
|
"uuid",
|
|
|
|
"chrono",
|
|
|
|
"tracing",
|
|
|
|
"alpha",
|
|
|
|
"unstable",
|
2023-05-10 04:44:27 +00:00
|
|
|
] }
|
2023-12-19 09:28:57 +00:00
|
|
|
serde = { workspace = true, features = ["derive"] }
|
|
|
|
serde_json = { workspace = true }
|
2023-03-08 19:18:33 +00:00
|
|
|
specta = { workspace = true }
|
2023-12-19 09:28:57 +00:00
|
|
|
strum = { workspace = true, features = ["derive"] }
|
|
|
|
strum_macros = { workspace = true }
|
|
|
|
tempfile = { workspace = true }
|
|
|
|
thiserror = { workspace = true }
|
2023-03-08 19:18:33 +00:00
|
|
|
tokio = { workspace = true, features = [
|
2023-12-05 13:16:03 +00:00
|
|
|
"sync",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"io-util",
|
|
|
|
"macros",
|
|
|
|
"time",
|
|
|
|
"process",
|
2023-03-08 19:18:33 +00:00
|
|
|
] }
|
2023-12-19 09:28:57 +00:00
|
|
|
tokio-stream = { workspace = true, features = ["fs"] }
|
|
|
|
tokio-util = { workspace = true, features = ["io"] }
|
2023-08-27 06:41:26 +00:00
|
|
|
tracing = { workspace = true }
|
2023-12-07 10:22:26 +00:00
|
|
|
tracing-appender = { workspace = true }
|
2023-12-19 09:28:57 +00:00
|
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
|
|
|
uuid = { workspace = true, features = ["v4", "serde"] }
|
|
|
|
webp = { workspace = true }
|
|
|
|
|
|
|
|
|
|
|
|
# Specific Core dependencies
|
|
|
|
async-recursion = "1.0.5"
|
2023-05-30 17:11:37 +00:00
|
|
|
async-stream = "0.3.5"
|
2023-12-19 09:28:57 +00:00
|
|
|
async-trait = "^0.1.74"
|
|
|
|
bytes = "1.5.0"
|
2023-11-04 10:20:22 +00:00
|
|
|
ctor = "0.2.5"
|
2023-12-19 09:28:57 +00:00
|
|
|
directories = "5.0.1"
|
|
|
|
flate2 = "1.0.28"
|
2023-09-12 14:03:25 +00:00
|
|
|
globset = { version = "^0.4.13", features = ["serde1"] }
|
2023-12-19 09:28:57 +00:00
|
|
|
hostname = "0.3.1"
|
|
|
|
http-body = "0.4.5"
|
2023-02-14 05:27:11 +00:00
|
|
|
http-range = "0.1.5"
|
2023-12-19 09:28:57 +00:00
|
|
|
int-enum = "0.5.0"
|
|
|
|
itertools = "0.12.0"
|
2023-09-12 14:03:25 +00:00
|
|
|
mini-moka = "0.10.2"
|
|
|
|
notify = { version = "=5.2.0", default-features = false, features = [
|
2023-12-05 13:16:03 +00:00
|
|
|
"macos_fsevent",
|
2023-03-08 19:18:33 +00:00
|
|
|
], optional = true }
|
2023-12-19 09:28:57 +00:00
|
|
|
rmpv = "^1.0.1"
|
2023-04-15 06:43:04 +00:00
|
|
|
serde-hashkey = "0.4.5"
|
2023-12-19 09:28:57 +00:00
|
|
|
serde_repr = "0.1"
|
|
|
|
serde_with = "3.4.0"
|
2023-08-05 14:42:21 +00:00
|
|
|
slotmap = "1.0.6"
|
2023-12-19 09:28:57 +00:00
|
|
|
static_assertions = "1.1.0"
|
|
|
|
sysinfo = "0.29.10"
|
2023-08-17 05:37:10 +00:00
|
|
|
tar = "0.4.40"
|
2023-03-31 04:59:33 +00:00
|
|
|
|
2023-10-20 08:22:36 +00:00
|
|
|
# Override features of transitive dependencies
|
|
|
|
[dependencies.openssl]
|
2023-12-19 09:28:57 +00:00
|
|
|
version = "=0.10.61"
|
2023-10-20 08:22:36 +00:00
|
|
|
features = ["vendored"]
|
|
|
|
[dependencies.openssl-sys]
|
2023-12-19 09:28:57 +00:00
|
|
|
version = "=0.9.97"
|
2023-10-20 08:22:36 +00:00
|
|
|
features = ["vendored"]
|
|
|
|
|
2023-12-19 09:28:57 +00:00
|
|
|
# Platform-specific dependencies
|
2023-07-05 18:22:56 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
plist = "1"
|
|
|
|
|
2022-09-01 23:38:26 +00:00
|
|
|
[dev-dependencies]
|
2023-05-30 09:24:05 +00:00
|
|
|
tracing-test = "^0.2.4"
|
2023-10-10 02:57:37 +00:00
|
|
|
aovec = "1.1.0"
|