33 lines
952 B
TOML
33 lines
952 B
TOML
[package]
|
|
name = "hcie-vision"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[features]
|
|
default = ["ffi", "cpp-backend"]
|
|
ffi = []
|
|
# Enables the C++ GGML/llama.cpp vision backend (MobileSAM, BiRefNet, ESRGAN, MI-GAN).
|
|
# Requires the matching C++ backend library to be available at load time.
|
|
cpp-backend = []
|
|
|
|
[dependencies]
|
|
hcie-engine-api = { path = "../hcie-engine-api" }
|
|
hcie-protocol = { path = "../hcie-protocol" }
|
|
image = { version = "0.25", default-features = false, features = ["png", "jpeg", "webp"] }
|
|
reqwest = { version = "0.12", features = ["json", "multipart", "blocking", "stream"] }
|
|
tokio = { version = "1.40", features = ["full"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_json = "1.0"
|
|
base64 = "0.22"
|
|
log = "0.4"
|
|
rand = "0.8"
|
|
rayon = "1.10"
|
|
bincode = "1.3"
|
|
|
|
[lib]
|
|
crate-type = ["rlib", "cdylib"]
|
|
|
|
[dev-dependencies]
|
|
rstest = "0.23"
|
|
proptest = "1.5"
|
|
approx = "0.5" |