73 lines
2.0 KiB
TOML
73 lines
2.0 KiB
TOML
[workspace]
|
|
members = ["ndarray-image", "ndarray-resize", ".", "bounding-box"]
|
|
|
|
[workspace.package]
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
|
|
[patch."https://github.com/uttarayan21/mnn-rs"]
|
|
mnn = { path = "/Users/fs0c131y/Projects/aftershoot/mnn-rs" }
|
|
[patch.crates-io]
|
|
ort = { path = "/Users/fs0c131y/Projects/ort" }
|
|
|
|
|
|
[workspace.dependencies]
|
|
ndarray-image = { path = "ndarray-image" }
|
|
ndarray-resize = { path = "ndarray-resize" }
|
|
mnn = { git = "https://github.com/uttarayan21/mnn-rs", version = "0.2.0", features = [
|
|
"metal",
|
|
"coreml",
|
|
"tracing",
|
|
], branch = "restructure-tensor-type" }
|
|
mnn-bridge = { git = "https://github.com/uttarayan21/mnn-rs", version = "0.1.0", features = [
|
|
"ndarray",
|
|
], branch = "restructure-tensor-type" }
|
|
mnn-sync = { git = "https://github.com/uttarayan21/mnn-rs", version = "0.1.0", features = [
|
|
"tracing",
|
|
], branch = "restructure-tensor-type" }
|
|
nalgebra = { version = "0.34.0", default-features = false, features = ["std"] }
|
|
|
|
[package]
|
|
name = "detector"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "MIT"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5", features = ["derive"] }
|
|
clap_complete = "4.5"
|
|
error-stack = "0.5"
|
|
fast_image_resize = "5.2.0"
|
|
image = "0.25.6"
|
|
nalgebra = { workspace = true }
|
|
ndarray = "0.16.1"
|
|
ndarray-image = { workspace = true }
|
|
ndarray-resize = { workspace = true }
|
|
rusqlite = { version = "0.37.0", features = ["modern-full"] }
|
|
tap = "1.0.1"
|
|
thiserror = "2.0"
|
|
tokio = "1.43.1"
|
|
tracing = "0.1"
|
|
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
|
|
mnn = { workspace = true }
|
|
mnn-bridge = { workspace = true }
|
|
mnn-sync = { workspace = true }
|
|
bounding-box = { version = "0.1.0", path = "bounding-box" }
|
|
color = "0.3.1"
|
|
itertools = "0.14.0"
|
|
ordered-float = "5.0.0"
|
|
ort = { version = "2.0.0-rc.10", default-features = false, features = [ "std", "tracing", "ndarray"]}
|
|
|
|
[profile.release]
|
|
debug = true
|
|
|
|
[features]
|
|
ort-cuda = ["ort/cuda"]
|
|
ort-coreml = ["ort/coreml"]
|
|
ort-tensorrt = ["ort/tensorrt"]
|
|
ort-tvm = ["ort/tvm"]
|
|
ort-openvino = ["ort/openvino"]
|
|
ort-directml = ["ort/directml"]
|
|
|
|
default = ["ort-coreml"]
|