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."]
|
2022-04-01 01:10:56 +00:00
|
|
|
license = "GNU GENERAL PUBLIC LICENSE"
|
2022-05-01 04:45:13 +00:00
|
|
|
repository = "https://github.com/spacedriveapp/spacedrive"
|
2022-04-20 09:25:50 +00:00
|
|
|
edition = "2021"
|
2023-02-01 04:21:34 +00:00
|
|
|
rust-version = "1.67.0"
|
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-03-15 16:09:36 +00:00
|
|
|
mobile = [
|
|
|
|
] # This feature allows features to be disabled when the Core is running on mobile.
|
|
|
|
ffmpeg = [
|
|
|
|
"dep:ffmpeg-next",
|
|
|
|
"dep:sd-ffmpeg",
|
|
|
|
] # This feature controls whether the Spacedrive Core contains functionality which requires FFmpeg.
|
2023-01-25 14:36:29 +00:00
|
|
|
location-watcher = ["dep:notify"]
|
2023-03-21 13:03:08 +00:00
|
|
|
sync-messages = []
|
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 = [
|
|
|
|
"rspc",
|
|
|
|
"serde",
|
|
|
|
"keymanager",
|
|
|
|
] }
|
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"] }
|
|
|
|
|
|
|
|
rspc = { workspace = true, features = ["uuid", "chrono", "tracing"] }
|
|
|
|
httpz = { workspace = true }
|
|
|
|
prisma-client-rust = { workspace = true }
|
|
|
|
specta = { workspace = true }
|
|
|
|
tokio = { workspace = true, features = [
|
|
|
|
"sync",
|
|
|
|
"rt-multi-thread",
|
|
|
|
"io-util",
|
|
|
|
"macros",
|
|
|
|
"time",
|
|
|
|
] }
|
2022-04-25 08:42:37 +00:00
|
|
|
|
2021-12-24 12:24:12 +00:00
|
|
|
base64 = "0.13.0"
|
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
2022-10-01 17:16:11 +00:00
|
|
|
chrono = { version = "0.4.22", features = ["serde"] }
|
2021-12-24 12:24:12 +00:00
|
|
|
serde_json = "1.0"
|
|
|
|
futures = "0.3"
|
2022-10-21 05:49:15 +00:00
|
|
|
int-enum = "0.5.0"
|
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"
|
2022-10-13 22:31:47 +00:00
|
|
|
blake3 = "1.3.1"
|
2023-03-08 19:18:33 +00:00
|
|
|
hostname = "0.3.1"
|
2022-08-03 15:36:03 +00:00
|
|
|
uuid = { version = "1.1.2", features = ["v4", "serde"] }
|
2022-10-01 17:16:11 +00:00
|
|
|
sysinfo = "0.26.4"
|
|
|
|
thiserror = "1.0.37"
|
2022-06-22 05:53:07 +00:00
|
|
|
include_dir = { version = "0.7.2", features = ["glob"] }
|
2022-10-01 17:16:11 +00:00
|
|
|
async-trait = "^0.1.57"
|
|
|
|
image = "0.24.4"
|
2022-03-30 09:37:03 +00:00
|
|
|
webp = "0.2.2"
|
2022-10-01 17:16:11 +00:00
|
|
|
tracing = "0.1.36"
|
|
|
|
tracing-subscriber = { version = "0.3.15", features = ["env-filter"] }
|
2022-08-03 15:36:03 +00:00
|
|
|
async-stream = "0.3.3"
|
2022-10-01 17:16:11 +00:00
|
|
|
once_cell = "1.15.0"
|
|
|
|
ctor = "0.1.23"
|
2022-09-01 23:38:26 +00:00
|
|
|
globset = { version = "^0.4.9", features = ["serde1"] }
|
2022-10-01 17:16:11 +00:00
|
|
|
itertools = "^0.10.5"
|
2022-09-08 22:57:07 +00:00
|
|
|
enumflags2 = "0.7.5"
|
2023-01-05 07:11:55 +00:00
|
|
|
uhlc = "0.5.1"
|
2023-02-14 05:27:11 +00:00
|
|
|
http-range = "0.1.5"
|
|
|
|
mini-moka = "0.10.0"
|
|
|
|
serde_with = "2.2.0"
|
2023-03-15 16:09:36 +00:00
|
|
|
dashmap = { version = "5.4.0", features = ["serde"] }
|
2023-03-08 19:18:33 +00:00
|
|
|
ffmpeg-next = { version = "5.1.1", optional = true, features = [] }
|
|
|
|
notify = { version = "5.0.0", default-features = false, features = [
|
|
|
|
"macos_fsevent",
|
|
|
|
], optional = true }
|
2022-09-01 23:38:26 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
tempfile = "^3.3.0"
|
2022-09-27 04:28:32 +00:00
|
|
|
tracing-test = "^0.2.3"
|