-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
84 lines (69 loc) · 1.94 KB
/
Cargo.toml
File metadata and controls
84 lines (69 loc) · 1.94 KB
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[package]
name = "purecv"
version = "0.3.0"
authors = ["Walter Perdan <https://github.com/kalwalt>"]
edition = "2021"
description = "A pure Rust, high-performance computer vision library focused on safety and portability."
license = "LGPL-2.1-or-later"
repository = "https://github.com/webarkit/purecv"
readme = "README.md"
keywords = ["computer-vision", "image-processing", "opencv", "wasm", "simd"]
categories = ["computer-vision", "science", "wasm"]
[lib]
path = "src/lib.rs"
[dependencies]
rayon = { version = "1.10", optional = true }
ndarray = { version = "0.17", optional = true }
num-traits = "0.2"
pulp = { version = "0.22", optional = true }
rustfft = { version = "6", optional = true }
num-complex = { version = "0.4", optional = true }
log = "0.4"
[dev-dependencies]
image = "0.25"
criterion = "0.8"
[features]
default = ["std", "parallel"]
std = []
parallel = ["rayon"]
ndarray = ["dep:ndarray"]
simd = ["dep:pulp"]
fft = ["dep:rustfft", "dep:num-complex"]
transforms = ["fft"]
[[bench]]
name = "arithm_bench"
path = "benches/arithm_bench.rs"
harness = false
[[bench]]
name = "imgproc_bench"
path = "benches/imgproc_bench.rs"
harness = false
[[bench]]
name = "structural_bench"
path = "benches/structural_bench.rs"
harness = false
[[bench]]
name = "dft_bench"
path = "benches/dft_bench.rs"
harness = false
required-features = ["fft"]
[[example]]
name = "dft_example"
required-features = ["fft"]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
[workspace]
members = ["crates/wasm"]
[workspace.package]
version = "0.3.0"
authors = ["Walter Perdan <https://github.com/kalwalt>"]
edition = "2021"
description = "A pure Rust, high-performance computer vision library focused on safety and portability."
license = "LGPL-2.1-or-later"
repository = "https://github.com/webarkit/purecv"
readme = "README.md"
keywords = ["computer-vision", "image-processing", "opencv", "wasm", "simd"]
categories = ["computer-vision", "science", "wasm"]