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-05-20 06:40:37 +00:00
|
|
|
heif = ["dep:sd-heif"]
|
2022-04-25 08:42:37 +00:00
|
|
|
|
2021-12-24 09:13:21 +00:00
|
|
|
[dependencies]
|
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-05-20 06:40:37 +00:00
|
|
|
sd-heif = { path = "../crates/heif", optional = true }
|
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-05-29 08:37:58 +00:00
|
|
|
sd-prisma = { path = "../crates/prisma" }
|
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
|
|
|
httpz = { workspace = true }
|
|
|
|
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
|
|
|
] }
|
2022-04-25 08:42:37 +00:00
|
|
|
|
2023-05-30 17:11:37 +00:00
|
|
|
base64 = "0.21.2"
|
2021-12-24 12:24:12 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2023-05-30 17:11:37 +00:00
|
|
|
chrono = { version = "0.4.25", 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"
|
2022-07-27 07:06:34 +00:00
|
|
|
rmp = "^0.8.11"
|
2022-10-01 17:16:11 +00:00
|
|
|
rmp-serde = "^1.1.1"
|
2023-07-12 04:32:53 +00:00
|
|
|
rmpv = "^1.0.0"
|
2023-05-30 17:11:37 +00:00
|
|
|
blake3 = "1.3.3"
|
2023-03-08 19:18:33 +00:00
|
|
|
hostname = "0.3.1"
|
2023-07-24 15:26:00 +00:00
|
|
|
uuid = { workspace = true }
|
2023-05-30 17:11:37 +00:00
|
|
|
sysinfo = "0.28.4"
|
|
|
|
thiserror = "1.0.40"
|
|
|
|
include_dir = { version = "0.7.3", features = ["glob"] }
|
|
|
|
async-trait = "^0.1.68"
|
2023-05-20 06:40:37 +00:00
|
|
|
image = "0.24.6"
|
2022-03-30 09:37:03 +00:00
|
|
|
webp = "0.2.2"
|
2023-05-30 09:24:05 +00:00
|
|
|
tracing = { git = "https://github.com/tokio-rs/tracing", rev = "29146260fb4615d271d2e899ad95a753bb42915e" } # To work with tracing-appender
|
|
|
|
tracing-subscriber = { git = "https://github.com/tokio-rs/tracing", rev = "29146260fb4615d271d2e899ad95a753bb42915e", features = [
|
|
|
|
"env-filter",
|
|
|
|
] }
|
2023-05-30 17:11:37 +00:00
|
|
|
async-stream = "0.3.5"
|
|
|
|
once_cell = "1.17.2"
|
|
|
|
ctor = "0.1.26"
|
|
|
|
globset = { version = "^0.4.10", features = ["serde1"] }
|
2022-10-01 17:16:11 +00:00
|
|
|
itertools = "^0.10.5"
|
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"
|
|
|
|
mini-moka = "0.10.0"
|
2023-05-30 17:11:37 +00:00
|
|
|
serde_with = "2.3.3"
|
2023-03-15 16:09:36 +00:00
|
|
|
dashmap = { version = "5.4.0", features = ["serde"] }
|
2023-05-30 09:24:05 +00:00
|
|
|
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-05-30 09:24:05 +00:00
|
|
|
tracing-appender = { git = "https://github.com/tokio-rs/tracing", rev = "29146260fb4615d271d2e899ad95a753bb42915e" } # Unreleased changes for log deletion
|
2023-05-17 20:34:05 +00:00
|
|
|
strum = { version = "0.24", features = ["derive"] }
|
|
|
|
strum_macros = "0.24"
|
2023-06-14 23:00:28 +00:00
|
|
|
regex = "1.8.4"
|
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-07-25 14:21:50 +00:00
|
|
|
futures-concurrency = "7.3"
|
|
|
|
async-channel = "1.9"
|
|
|
|
tokio-util = "0.7"
|
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 17:11:37 +00:00
|
|
|
tempfile = "^3.5.0"
|
2023-05-30 09:24:05 +00:00
|
|
|
tracing-test = "^0.2.4"
|