-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
50 lines (44 loc) · 1.13 KB
/
Cargo.toml
File metadata and controls
50 lines (44 loc) · 1.13 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
[package]
name = "hiob"
description = "Hyperplane Independence Optimized Binarization"
version = "0.1.0"
edition = "2021"
[lib]
name = "hiob"
crate-type = ["cdylib", "lib"]
path = "src/lib.rs"
test = true
doc = true
[dependencies]
num = "0.4.0"
ndarray = "0.15.6"
ndarray-rand = "0.14.0"
rand = "0.8.5"
futures = "0.3.28"
paste = "1.0.12"
probability = {version="0.20.3"}
indicatif = {version="0.17.3", optional=true}
hdf5 = {version="0.8.1", optional=true}
rayon = {version="1.7.0", optional=true}
half = {version="2.2.1", optional=true, features=["num-traits"]}
numpy = {version="0.18.0", optional=true, features=["half"]}
pyo3 = {version="0.18.3", features=["auto-initialize", "multiple-pymethods"], optional=true}
[features]
default = ["parallel", "half", "python"]
progressbars = ["dep:indicatif"]
parallel = ["dep:rayon"]
rust-hdf5 = ["dep:hdf5"]
half = ["dep:half"]#, "numpy/half"]
python = ["dep:numpy", "dep:pyo3"]
[profile.profiling]
inherits = "release"
opt-level = 3
debug = true
split-debuginfo = 'off'
debug-assertions = false
overflow-checks = false
lto = false
panic = 'unwind'
incremental = false
codegen-units = 16
rpath = false