-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
42 lines (35 loc) · 1.03 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
[package]
name = "mat2image"
version = "0.2.0"
edition = "2021"
license = "MIT"
description = "Utilities to convert opencv::Mat to image::DynamicImage"
repository = "https://github.com/rcastill/mat2image"
exclude = [
"examples/*",
"Makefile"
]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[profile.release]
debug = 1
[dependencies]
opencv = { version = "0.92.0", default-features = false, features = ["rgb"] }
# Copy rgb dependency from
# https://github.com/twistedfall/opencv-rust/blob/v0.66.0/Cargo.toml
# version 0.8.20 doesn't contain the deficiency mentioned in
# https://deps.rs/crate/opencv/0.59.0#vulnerabilities
rgb = { version = "0.8.20", default-features = false }
image = { version = "0.25", default-features = false }
thiserror = "1.0"
[dependencies.rayon]
version = "1.5"
optional = true
[features]
default = ["rayon"]
experimental = []
[dev-dependencies]
image = "0.24"
[dev-dependencies.opencv]
version = "0.83"
default-features = false
features = ["imgcodecs"]