mirror of
https://github.com/mii443/usls.git
synced 2025-08-22 15:45:41 +00:00
🐍 v0.1.0 (#53)
This commit is contained in:
76
Cargo.toml
76
Cargo.toml
@ -1,64 +1,66 @@
|
||||
[package]
|
||||
name = "usls"
|
||||
version = "0.0.20"
|
||||
version = "0.1.0"
|
||||
rust-version = "1.79"
|
||||
edition = "2021"
|
||||
description = "A Rust library integrated with ONNXRuntime, providing a collection of ML models."
|
||||
repository = "https://github.com/jamjamjon/usls"
|
||||
authors = ["Jamjamjon <xxyydzml@outlook.com>"]
|
||||
license = "MIT"
|
||||
readme = "README.md"
|
||||
exclude = ["assets/*", "examples/*", "scripts/*", "runs/*"]
|
||||
exclude = ["assets/*", "examples/*", "runs/*", "benches/*"]
|
||||
|
||||
[dependencies]
|
||||
clap = { version = "4.2.4", features = ["derive"] }
|
||||
aksr = { version = "0.0.2" }
|
||||
image = { version = "0.25.2" }
|
||||
imageproc = { version = "0.24" }
|
||||
ndarray = { version = "0.16.1", features = ["rayon"] }
|
||||
ort = { version = "2.0.0-rc.9", default-features = false }
|
||||
rayon = { version = "1.10.0" }
|
||||
anyhow = { version = "1.0.75" }
|
||||
regex = { version = "1.5.4" }
|
||||
rand = { version = "0.8.5" }
|
||||
chrono = { version = "0.4.30" }
|
||||
half = { version = "2.3.1" }
|
||||
dirs = { version = "5.0.1" }
|
||||
ureq = { version = "2.9.1", default-features = true, features = [
|
||||
"socks-proxy",
|
||||
] }
|
||||
tokenizers = { version = "0.15.2" }
|
||||
rayon = "1.10.0"
|
||||
log = { version = "0.4.22" }
|
||||
indicatif = "0.17.8"
|
||||
image = "0.25.2"
|
||||
imageproc = { version = "0.24" }
|
||||
ab_glyph = "0.2.23"
|
||||
geo = "0.28.0"
|
||||
prost = "0.12.4"
|
||||
fast_image_resize = { version = "4.2.1", features = ["image"] }
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
ort = { version = "2.0.0-rc.9", default-features = false}
|
||||
prost = "0.12.4"
|
||||
ab_glyph = "0.2.23"
|
||||
dirs = { version = "5.0.1" }
|
||||
tempfile = "3.12.0"
|
||||
video-rs = { version = "0.9.0", features = ["ndarray"] }
|
||||
geo = "0.28.0"
|
||||
half = { version = "2.3.1" }
|
||||
ureq = { version = "2.12.1", default-features = false, features = [ "tls" ] }
|
||||
fast_image_resize = { version = "4.2.1", features = ["image"]}
|
||||
natord = "1.0.9"
|
||||
tracing = "0.1.40"
|
||||
tracing-subscriber = "0.3.18"
|
||||
minifb = "0.27.0"
|
||||
video-rs = { version = "0.10.0", features = ["ndarray"], optional = true }
|
||||
minifb = { version = "0.27.0", optional = true }
|
||||
sha2 = "0.10.8"
|
||||
|
||||
[dev-dependencies]
|
||||
argh = "0.1.13"
|
||||
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "chrono"] }
|
||||
|
||||
[[example]]
|
||||
name = "viewer"
|
||||
required-features = ["ffmpeg"]
|
||||
|
||||
[features]
|
||||
default = [
|
||||
"ort/load-dynamic",
|
||||
"ort/copy-dylibs",
|
||||
"ort/half",
|
||||
"ort/ndarray",
|
||||
"ort/cuda",
|
||||
"ort/tensorrt",
|
||||
"ort/coreml",
|
||||
"ort/ndarray",
|
||||
"ort/copy-dylibs",
|
||||
"ort/load-dynamic",
|
||||
"ort/half",
|
||||
]
|
||||
auto = ["ort/download-binaries"]
|
||||
ffmpeg = ["dep:video-rs", "dep:minifb"]
|
||||
cuda = [ "ort/cuda" ]
|
||||
trt = [ "ort/tensorrt" ]
|
||||
mps = [ "ort/coreml" ]
|
||||
|
||||
[dev-dependencies]
|
||||
criterion = "0.5.1"
|
||||
|
||||
[[bench]]
|
||||
name = "yolo"
|
||||
harness = false
|
||||
|
||||
[lib]
|
||||
bench = false
|
||||
[profile.release]
|
||||
# lto = true
|
||||
strip = true
|
||||
panic = "abort"
|
||||
|
Reference in New Issue
Block a user