-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (54 loc) · 1.66 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
name = "lenna_birds_plugin"
authors = ["Christian <[email protected]>"]
version = "0.1.1"
edition = "2021"
description = "Plugin to classify birds on images."
license = "MIT"
repository = "https://github.com/lenna-project/birds-plugin"
[lib]
crate-type = ["cdylib", "rlib"]
[features]
default = ["plugin", "mobilenet"]
python = [
"lenna_core/python",
"ndarray",
"ndarray-image",
"numpy",
"pyo3",
"pythonize",
]
plugin = []
mobilenet = []
efficientnet = []
[dependencies]
console_error_panic_hook = "0.1"
image = { version = "0.24", default-features = false, features = [
"png",
"jpeg",
] }
imageproc = { version = "0.23", default-features = false }
kamadak-exif = "0.5.5"
lenna_core = { git = "https://github.com/lenna-project/lenna-core", branch = "main" }
rusttype = "0.9"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tract-onnx = { version = "0.20" }
pyo3 = { version = "0.16", features = ["extension-module"], optional = true }
ndarray = { version = "0.15.6", optional = true }
ndarray-image = { git = "https://github.com/rust-cv/ndarray-image.git", optional = true }
numpy = { version = "0.14.1", optional = true }
pythonize = { version = "0.16", optional = true }
[target.wasm32-unknown-unknown.dependencies]
wasm-bindgen = { version = "0.2", features = ["serde-serialize"] }
wasm-bindgen-futures = { version = "0.4.37" }
js-sys = "0.3.64"
getrandom = { version = "0.2.10", features = ["js"] }
[dev-dependencies]
wasm-bindgen-test = "0.3.37"
[profile.release]
opt-level = "s"
[package.metadata.wasm-pack.profile.release]
wasm-opt = true
[package.metadata.maturin]
classifiers = ["Programming Language :: Python"]