-
Notifications
You must be signed in to change notification settings - Fork 7
/
Cargo.toml
60 lines (51 loc) · 1.51 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
[package]
name = "kornia-rs"
version = "0.1.3"
edition = "2021"
description = "Low-level computer vision library in Rust"
homepage = "http://kornia.org"
repository = "https://github.com/kornia/kornia-rs"
categories = ["image-processing", "computer-vision", "machine-learning"]
license-file = "LICENSE"
[dependencies]
anyhow = "1.0.80"
fast_image_resize = "3.0.4"
image = { version = "0.25.0" }
ndarray = { version = "0.15.6", features = ["rayon"] }
# optional dependencies
gst = { version = "0.22.2", package = "gstreamer", optional = true }
gst-app = { version = "0.22.0", package = "gstreamer-app", optional = true }
memmap2 = "0.9.4"
num-traits = "0.2.17"
tokio = { version = "1", features = ["full"], optional = true }
turbojpeg = { version = "1.0.0", optional = true }
# this is experimental and only used for benchmarking, so it's optional
# consider removing it in the future.
candle-core = { version = "0.3.2", optional = true }
[dev-dependencies]
clap = { version = "4.5.3", features = ["derive"] }
criterion = { version = "0.5.1", features = ["html_reports"] }
indicatif = { version = "0.17.8", features = ["rayon"] }
tempfile = "3.9.0"
rayon = "1.10.0"
rerun = "0.16.0"
walkdir = "2.5.0"
[features]
candle = ["candle-core"]
gstreamer = ["gst", "gst-app", "tokio"]
jpegturbo = ["turbojpeg"]
[[bench]]
name = "bench_color"
harness = false
[[bench]]
name = "bench_resize"
harness = false
[[bench]]
name = "bench_metrics"
harness = false
[[bench]]
name = "bench_io"
harness = false
[[bench]]
name = "bench_warp"
harness = false