[package]
name = "sd-mobile-core"
version = "0.1.0"
edition = "2021"

[lib]
name = "sd_mobile_core"
crate-type = ["staticlib", "cdylib"]

[dependencies]
# Import the real Spacedrive core (FFmpeg and HEIF disabled for iOS build issues)
sd-core = { path = "../../../../../core", default-features = false }

# Minimal dependencies for mobile
anyhow.workspace = true
once_cell = "1.0"
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true
tokio = { workspace = true, features = ["macros", "rt", "rt-multi-thread", "sync", "time"] }
tracing.workspace = true
tracing-subscriber = { workspace = true, features = ["env-filter"] }
uuid = { workspace = true, features = ["serde", "v4"] }
libc.workspace = true
openssl-sys = { version = "0.9", features = ["vendored"] }

[target.'cfg(target_os = "android")'.dependencies]
jni = "0.21"
