2021-12-24 09:13:21 +00:00
|
|
|
[package]
|
2022-10-04 12:25:12 +00:00
|
|
|
name = "sd-core"
|
2021-12-24 09:13:21 +00:00
|
|
|
version = "0.1.0"
|
2022-06-14 20:13:09 +00:00
|
|
|
description = "Virtual distributed filesystem engine that powers Spacedrive."
|
|
|
|
authors = ["Spacedrive Technology Inc."]
|
2023-06-14 23:00:28 +00:00
|
|
|
rust-version = "1.70.0"
|
|
|
|
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"]
|
2022-04-25 08:42:37 +00:00
|
|
|
|
2021-12-24 09:13:21 +00:00
|
|
|
[dependencies]
|
2023-08-29 17:02:55 +00:00
|
|
|
sd-media-metadata = { path = "../crates/media-metadata" }
|
|
|
|
sd-prisma = { path = "../crates/prisma" }
|
2023-03-08 19:18:33 +00:00
|
|
|
sd-ffmpeg = { path = "../crates/ffmpeg", optional = true }
|
2023-03-15 16:09:36 +00:00
|
|
|
sd-crypto = { path = "../crates/crypto", features = [
|
2023-04-18 06:12:02 +00:00
|
|
|
"rspc",
|
2023-04-25 07:14:52 +00:00
|
|
|
"specta",
|
2023-04-18 06:12:02 +00:00
|
|
|
"serde",
|
|
|
|
"keymanager",
|
2023-03-15 16:09:36 +00:00
|
|
|
] }
|
2023-09-07 14:08:17 +00:00
|
|
|
|
|
|
|
sd-images = { path = "../crates/images" }
|
2023-03-08 19:18:33 +00:00
|
|
|
sd-file-ext = { path = "../crates/file-ext" }
|
|
|
|
sd-sync = { path = "../crates/sync" }
|
|
|
|
sd-p2p = { path = "../crates/p2p", features = ["specta", "serde"] }
|
2023-07-24 15:26:00 +00:00
|
|
|
sd-utils = { path = "../crates/utils" }
|
|
|
|
sd-core-sync = { path = "./crates/sync" }
|
2023-03-08 19:18:33 +00:00
|
|
|
|
2023-05-10 04:44:27 +00:00
|
|
|
rspc = { workspace = true, features = [
|
|
|
|
"uuid",
|
|
|
|
"chrono",
|
|
|
|
"tracing",
|
|
|
|
"alpha",
|
|
|
|
"unstable",
|
|
|
|
] }
|
2023-03-08 19:18:33 +00:00
|
|
|
prisma-client-rust = { workspace = true }
|
|
|
|
specta = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = [
|
2023-04-18 06:12:02 +00:00
|
|
|
"sync",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"io-util",
|
|
|
|
"macros",
|
|
|
|
"time",
|
2023-07-05 18:22:56 +00:00
|
|
|
"process",
|
2023-03-08 19:18:33 +00:00
|
|
|
] }
|
2023-08-29 17:02:55 +00:00
|
|
|
kamadak-exif = "0.5.5"
|
2023-09-12 14:03:25 +00:00
|
|
|
base64 = "0.21.4"
|
2021-12-24 12:24:12 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-09-12 14:03:25 +00:00
|
|
|
chrono = { version = "0.4.30", features = ["serde"] }
|
2023-07-24 15:26:00 +00:00
|
|
|
serde_json = { workspace = true }
|
2021-12-24 12:24:12 +00:00
|
|
|
futures = "0.3"
|
2023-09-12 14:03:25 +00:00
|
|
|
rmp = "^0.8.12"
|
|
|
|
rmp-serde = "^1.1.2"
|
|
|
|
rmpv = "^1.0.1"
|
|
|
|
blake3 = "1.4.1"
|
2023-03-08 19:18:33 +00:00
|
|
|
hostname = "0.3.1"
|
2023-07-24 15:26:00 +00:00
|
|
|
uuid = { workspace = true }
|
2023-09-12 14:03:25 +00:00
|
|
|
sysinfo = "0.29.10"
|
|
|
|
thiserror = "1.0.48"
|
2023-05-30 17:11:37 +00:00
|
|
|
include_dir = { version = "0.7.3", features = ["glob"] }
|
2023-09-12 14:03:25 +00:00
|
|
|
async-trait = "^0.1.73"
|
|
|
|
image = "0.24.7"
|
2023-10-03 17:31:33 +00:00
|
|
|
webp = "0.2.6"
|
2023-08-27 06:41:26 +00:00
|
|
|
tracing = { workspace = true }
|
2023-08-29 17:02:55 +00:00
|
|
|
tracing-subscriber = { workspace = true, features = ["env-filter"] }
|
2023-05-30 17:11:37 +00:00
|
|
|
async-stream = "0.3.5"
|
2023-09-12 14:03:25 +00:00
|
|
|
once_cell = "1.18.0"
|
|
|
|
ctor = "0.2.4"
|
|
|
|
globset = { version = "^0.4.13", features = ["serde1"] }
|
|
|
|
itertools = "^0.11.0"
|
2023-05-30 17:11:37 +00:00
|
|
|
enumflags2 = "0.7.7"
|
2023-02-14 05:27:11 +00:00
|
|
|
http-range = "0.1.5"
|
2023-09-12 14:03:25 +00:00
|
|
|
mini-moka = "0.10.2"
|
|
|
|
serde_with = "3.3.0"
|
|
|
|
dashmap = { version = "5.5.3", features = ["serde"] }
|
|
|
|
notify = { version = "=5.2.0", default-features = false, features = [
|
2023-04-18 06:12:02 +00:00
|
|
|
"macos_fsevent",
|
2023-03-08 19:18:33 +00:00
|
|
|
], optional = true }
|
2023-03-31 04:59:33 +00:00
|
|
|
static_assertions = "1.1.0"
|
2023-04-15 06:43:04 +00:00
|
|
|
serde-hashkey = "0.4.5"
|
2023-04-18 06:12:02 +00:00
|
|
|
normpath = { version = "1.1.1", features = ["localization"] }
|
2023-08-27 06:41:26 +00:00
|
|
|
tracing-appender = { workspace = true }
|
2023-09-12 14:03:25 +00:00
|
|
|
strum = { version = "0.25", features = ["derive"] }
|
|
|
|
strum_macros = "0.25"
|
|
|
|
regex = "1.9.5"
|
2023-06-08 07:13:45 +00:00
|
|
|
hex = "0.4.3"
|
2023-06-14 23:00:28 +00:00
|
|
|
int-enum = "0.5.0"
|
2023-06-18 08:40:51 +00:00
|
|
|
tokio-stream = "0.1.14"
|
2023-09-23 14:43:54 +00:00
|
|
|
futures-concurrency = "7.4.3"
|
2023-07-25 14:21:50 +00:00
|
|
|
async-channel = "1.9"
|
2023-08-31 06:54:40 +00:00
|
|
|
tokio-util = { version = "0.7.8", features = ["io"] }
|
2023-08-05 14:42:21 +00:00
|
|
|
slotmap = "1.0.6"
|
|
|
|
aovec = "1.1.0"
|
2023-09-12 14:03:25 +00:00
|
|
|
flate2 = "1.0.27"
|
2023-08-17 05:37:10 +00:00
|
|
|
tar = "0.4.40"
|
2023-09-12 14:03:25 +00:00
|
|
|
tempfile = "^3.8.0"
|
2023-08-31 06:54:40 +00:00
|
|
|
axum = "0.6.20"
|
|
|
|
http-body = "0.4.5"
|
2023-09-06 08:06:29 +00:00
|
|
|
pin-project-lite = "0.2.13"
|
2023-09-12 14:03:25 +00:00
|
|
|
bytes = "1.5.0"
|
2023-09-28 16:55:46 +00:00
|
|
|
reqwest = { version = "0.11.20", features = ["json"] }
|
2023-03-31 04:59:33 +00:00
|
|
|
|
2023-07-05 18:22:56 +00:00
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
|
|
plist = "1"
|
|
|
|
|
2023-03-31 04:59:33 +00:00
|
|
|
[target.'cfg(windows)'.dependencies.winapi-util]
|
|
|
|
version = "0.1.5"
|
2022-09-01 23:38:26 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2023-05-30 09:24:05 +00:00
|
|
|
tracing-test = "^0.2.4"
|