Files
fpv-rid-workbench/Cargo.toml
T

66 lines
2.1 KiB
TOML

[package]
name = "fpv-rid-registry"
version = "3.0.0"
edition = "2024"
[[bin]]
name = "fpv-rid-registry-fullstack"
path = "src/main.rs"
[workspace]
members = ["crates/rid-shared", "crates/realtime-core", "crates/web-ui", "crates/web-worker", "xtask"]
default-members = [".", "crates/rid-shared", "crates/realtime-core", "xtask"]
resolver = "2"
[features]
portable = [
"dep:tempfile",
"windows-sys/Win32_System_Com_StructuredStorage",
"windows-sys/Win32_System_Console",
"windows-sys/Win32_System_LibraryLoader",
"windows-sys/Win32_System_SystemInformation",
"windows-sys/Win32_System_Variant",
"windows-sys/Win32_UI_Shell_PropertiesSystem",
"windows-sys/Win32_UI_WindowsAndMessaging",
]
[dependencies]
axum = { version = "0.8", features = ["ws"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros", "net", "signal", "sync", "time", "io-util"] }
tokio-serial = { version = "=5.5.0", default-features = false }
rid-shared = { path = "crates/rid-shared" }
realtime-core = { path = "crates/realtime-core" }
postcard = { version = "1", features = ["alloc"] }
sqlx = { version = "0.9", default-features = false, features = ["runtime-tokio", "sqlite-bundled"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
base64 = "0.22"
rand = "0.9"
chrono = "0.4"
zip = { version = "4", default-features = false, features = ["deflate"] }
rust_xlsxwriter = "0.90"
fs2 = "0.4"
regex = "1"
reqwest = { version = "=0.13.5", default-features = false, features = ["native-tls", "query", "system-proxy"] }
image = { version = "0.25", default-features = false, features = ["png", "jpeg"] }
argon2 = "0.5.3"
tempfile = { version = "3", optional = true }
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.52", features = ["Win32_Foundation", "Win32_System_Registry"] }
[target.'cfg(windows)'.build-dependencies]
find-msvc-tools = "0.1"
[dev-dependencies]
rusqlite = { version = "0.38", features = ["bundled", "backup"] }
tempfile = "3"
tower = { version = "0.5", features = ["util"] }
tokio-tungstenite = "0.29"
futures-util = { version = "0.3", features = ["sink"] }
[profile.release]
lto = true
strip = true
codegen-units = 1