mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-02 10:03:28 +00:00
* First draft on image labeling * Fixing execution providers for other OSs * Better error handling and shutdown * Working with shallow media processor * bruh * Fix warnings * Now hooked to media processor job * Link desktop app with libonnxruntime to avoid TLS error during startup * Be able to change models on runtime Revert to use labels table instead of tags * A bug on a model-less inference * Show AI labels on Inspector - Change yolo inference to use half precision - Add labels api to core * Remove LD_PRELOAD * Fix race condition on model executor shutdown * Don't load all images in memory moron * Embeed yolo model in prod build - Change yolo model path to new one relative to executable * Disable volume watcher on linux, it was crashing the app - Invalidate labels when they are updated * Rust fmt * Minor changes * Gate onnxruntime linking to the ai-models feature * Add build script to sd-server to handle onnxruntime linking workaround * Move AI stuff to its own crate and normalize deps * Rust fmt * Don't regenerate labels unless asked to * Now blazingly fast * Bad merge * Fix * Fix * Add backend logic to download extra yolo models * Add models api route - Add api call to get available model version - Add api call to change the model version * Improve new model download logic - Add frontend to change image labeler model * Fix new model downloader * Fix model select width * invalidate labels count after media_processor generates a new output * Rename AI crate and first draft on download notifications * fix types --------- Co-authored-by: Vítor Vasconcellos <vasconcellos.dev@gmail.com> Co-authored-by: Brendan Allan <brendonovich@outlook.com>
92 lines
2.3 KiB
TOML
92 lines
2.3 KiB
TOML
[workspace]
|
|
resolver = "2"
|
|
members = [
|
|
"core",
|
|
"core/crates/*",
|
|
"crates/*",
|
|
# "crates/p2p/tunnel",
|
|
# "crates/p2p/tunnel/utils",
|
|
"apps/cli",
|
|
"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",
|
|
]
|
|
|
|
[workspace.package]
|
|
license = "AGPL-3.0-only"
|
|
edition = "2021"
|
|
repository = "https://github.com/spacedriveapp/spacedrive"
|
|
|
|
[workspace.dependencies]
|
|
# First party dependencies
|
|
prisma-client-rust = { git = "https://github.com/spacedriveapp/prisma-client-rust", rev = "9f8ac122e8f2b2e4957b71f48a37e06565adba40", features = [
|
|
"rspc",
|
|
"sqlite-create-many",
|
|
"migrations",
|
|
"sqlite",
|
|
], default-features = false }
|
|
prisma-client-rust-cli = { git = "https://github.com/spacedriveapp/prisma-client-rust", rev = "9f8ac122e8f2b2e4957b71f48a37e06565adba40", features = [
|
|
"rspc",
|
|
"sqlite-create-many",
|
|
"migrations",
|
|
"sqlite",
|
|
], default-features = false }
|
|
prisma-client-rust-sdk = { git = "https://github.com/spacedriveapp/prisma-client-rust", rev = "9f8ac122e8f2b2e4957b71f48a37e06565adba40", features = [
|
|
"sqlite",
|
|
], default-features = false }
|
|
|
|
tracing = "0.1.40"
|
|
tracing-subscriber = "0.3.18"
|
|
tracing-appender = "0.2.3"
|
|
|
|
rspc = { version = "0.1.4" }
|
|
specta = { version = "=2.0.0-rc.7" }
|
|
tauri-specta = { version = "=2.0.0-rc.4" }
|
|
|
|
swift-rs = { version = "1.0.6" }
|
|
|
|
|
|
# Third party dependencies used by one or more of our crates
|
|
anyhow = "1.0.75"
|
|
async-channel = "2.0.0"
|
|
axum = "0.6.20"
|
|
base64 = "0.21.5"
|
|
blake3 = "1.5.0"
|
|
chrono = "0.4.31"
|
|
clap = "4.4.7"
|
|
futures = "0.3.29"
|
|
futures-concurrency = "7.4.3"
|
|
hex = "0.4.3"
|
|
http = "0.2.9"
|
|
image = "0.24.7"
|
|
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"
|
|
serde = "1.0"
|
|
serde_json = "1.0"
|
|
strum = "0.25"
|
|
strum_macros = "0.25"
|
|
tempfile = "3.8.1"
|
|
thiserror = "1.0.50"
|
|
tokio = "1.34.0"
|
|
tokio-stream = "0.1.14"
|
|
tokio-util = "0.7.10"
|
|
uhlc = "=0.5.2"
|
|
uuid = "1.5.0"
|
|
webp = "0.2.6"
|
|
|
|
[patch.crates-io]
|
|
# Proper IOS Support
|
|
if-watch = { git = "https://github.com/oscartbeaumont/if-watch.git", rev = "f732786057e57250e863a9ea0b1874e4cc9907c2" }
|
|
|
|
# Beta features
|
|
rspc = { git = "https://github.com/spacedriveapp/rspc.git", rev = "f3347e2e8bfe3f37bfacc437ca329fe71cdcb048" }
|