-
Notifications
You must be signed in to change notification settings - Fork 100
/
Cargo.toml
46 lines (37 loc) · 1.29 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
[package]
authors = ["Nicolas Bigaouette <[email protected]>"]
edition = "2018"
name = "onnxruntime"
version = "0.0.14"
description = "Wrapper around Microsoft's ONNX Runtime"
documentation = "https://docs.rs/onnxruntime"
homepage = "https://github.com/nbigaouette/onnxruntime-rs"
license = "MIT OR Apache-2.0"
readme = "../README.md"
repository = "https://github.com/nbigaouette/onnxruntime-rs"
categories = ["science"]
keywords = ["neuralnetworks", "onnx", "bindings"]
[[test]]
name = "integration_tests"
required-features = ["model-fetching"]
[dependencies]
onnxruntime-sys = { version = "0.0.14", path = "../onnxruntime-sys" }
lazy_static = "1.4"
ndarray = "0.15"
thiserror = "1.0"
tracing = "0.1"
# Enabled with 'model-fetching' feature
ureq = { version = "2.1", optional = true }
[dev-dependencies]
image = "0.23"
test-env-log = { version = "0.2", default-features = false, features = ["trace"] }
tracing-subscriber = "0.2"
ureq = "2.1"
[features]
# Fetch model from ONNX Model Zoo (https://github.com/onnx/models)
model-fetching = ["ureq"]
# Disable build script; used for https://docs.rs
disable-sys-build-script = ["onnxruntime-sys/disable-sys-build-script"]
generate-bindings = ["onnxruntime-sys/generate-bindings"]
[package.metadata.docs.rs]
features = ["disable-sys-build-script", "model-fetching"]