forked from aldanor/hdf5-rust
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathCargo.toml
More file actions
51 lines (45 loc) · 1.92 KB
/
Cargo.toml
File metadata and controls
51 lines (45 loc) · 1.92 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
[workspace]
resolver = "2"
members = ["hdf5", "hdf5-types", "hdf5-derive", "hdf5-sys", "hdf5-src"]
default-members = ["hdf5", "hdf5-types", "hdf5-derive", "hdf5-sys"]
[workspace.package]
rust-version = "1.85.1"
authors = [
"Ivan Smirnov <aldanor@users.noreply.github.com>",
"Magnus Ulimoen <mulimoen@users.noreply.github.com>",
]
keywords = ["hdf5"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/metno/hdf5-rust"
homepage = "https://github.com/metno/hdf5-rust"
edition = "2021"
[workspace.dependencies]
# external
cfg-if = "1.0"
half = { version = "2.2", default-features = false }
libc = "0.2"
libz-sys = { version = "1.1", default-features = false }
mpi-sys = "0.2"
num-complex = { version = "0.4", default-features = false }
regex = "1.10"
# internal
hdf5 = { package = "hdf5-metno", version = "0.12.0", path = "hdf5" } # !V
hdf5-derive = { package = "hdf5-metno-derive", version = "0.10.0", path = "hdf5-derive" } # !V
hdf5-types = { package = "hdf5-metno-types", version = "0.11.0", path = "hdf5-types" } # !V
hdf5-src = { package = "hdf5-metno-src", version = "0.10.0", path = "hdf5-src" } # !V
hdf5-sys = { package = "hdf5-metno-sys", version = "0.11.3", path = "hdf5-sys" } # !V
[profile.dev]
# Fast compile, reasonable runtime
opt-level = 0 # no optimizations = much faster compilation
debug = 1 # keep minimal debug info (0 is smaller, 1 is a nice compromise)
incremental = true # reuse previous compilation work
codegen-units = 16 # more parallel codegen units = faster compiles
lto = "off" # no link-time optimization
panic = "unwind" # default, keeps backtraces usable
overflow-checks = true # keep checks for safety in dev
[profile.test]
# Inherit dev as a baseline, then tweak for tests
inherits = "dev"
opt-level = 0 # keep tests compiling fast
debug = 1 # enough info for backtraces
overflow-checks = true