-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
70 lines (61 loc) · 1.85 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
61
62
63
64
65
66
67
68
69
70
[package]
name = "opencompgraph-rs"
version = "0.1.0"
authors = ["David Cattermole <[email protected]>"]
edition = "2018"
publish = false
[lib]
name = "opencompgraph_rs"
path = "./src/lib.rs"
# NOTE: 'lib' is used to link with Rust crates, 'staticlib' is used to
# link with C++.
crate_type = ["staticlib"]
[dependencies]
cxx = "=1.0.55"
rustc-hash = "1.1.0"
fastapprox = "0.3.0"
log = "0.4.0"
env_logger = "0.8.2"
serde_yaml = "0.8"
anyhow = "1.0.38"
linked-hash-map = "0.5.4"
num-traits = "0.2"
shellexpand = "2.1"
bitflags = "1.3"
[dependencies.half]
version = "1.7.1"
default-features = false
features = ["std"]
[dependencies.serde]
version = "1.0"
default-features = false
features = ["derive"]
[dependencies.rand]
version = "0.7.3"
default-features = false
features = ["std", "alloc", "small_rng"] # "serde"
[dependencies.petgraph]
version = "0.5.1"
default-features = false
features = ["stable_graph"] # "serde-1"
[dependencies.image]
version = "0.23.12"
default-features = false
features = ["jpeg", "png", "tga", "tiff"]
[dependencies.nalgebra]
version = "0.23.2"
default-features = false
features = ["std", "matrixmultiply"] # "serde"
[profile.release]
opt-level = 2 # Optimization level, 0=None 1=Ok 2=High 3=Experimental
debug = false # Include debug info.
debug-assertions = false # Enables debug assertions.
overflow-checks = false # Enables runtime integer overflow checks.
lto = "thin" # Sets link-time optimization.
# NOTE: If we use 'panic = "abort"' then we are unable to produce tests.
# https://github.com/rust-lang/cargo/issues/6313
panic = "abort" # The panic strategy.
incremental = false # Incremental compilation.
# NOTE: Change 'codegen-units' to '1' for better optimisation.
codegen-units = 16 # Number of code generation units.
rpath = false # Sets the rpath linking option.