-
Notifications
You must be signed in to change notification settings - Fork 12
/
Cargo.toml
59 lines (50 loc) · 1.31 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
[package]
authors = ["Eduardo Pinho <[email protected]>"]
categories = ["parser-implementations"]
description = "Rust implementation of the NIfTI file format"
documentation = "https://docs.rs/crate/nifti"
edition = "2018"
keywords = ["nifti", "neuroimaging", "standard", "parser"]
license = "MIT OR Apache-2.0"
name = "nifti"
readme = "README.md"
repository = "https://github.com/Enet4/nifti-rs"
version = "0.16.1-alpha.0"
exclude = ["resources/*"]
[package.metadata.docs.rs]
features = ["ndarray_volumes", "nalgebra_affine"]
[dependencies]
approx = "0.5"
byteordered = "0.6"
flate2 = "1.0"
num-derive = "0.3"
num-traits = "0.2"
quick-error = "2.0"
either = "1.6"
num-complex = {version = "0.4.3", features=["bytemuck"]}
rgb = "0.8.36"
bytemuck = {version = "1.13.1", features=["extern_crate_alloc"]}
[dependencies.nalgebra]
optional = true
version = "0.32"
[dependencies.ndarray]
optional = true
version = "0.15"
features = ["approx-0_5"]
[dependencies.simba]
default-features = false
optional = true
version = "0.8"
[dev-dependencies]
pretty_assertions = "1.2.1"
tempfile = "3.1"
[[example]]
name = "niftidump"
path = "examples/niftidump/main.rs"
[[example]]
name = "gen_nifti"
path = "examples/gen_nifti/main.rs"
[features]
default = ["ndarray_volumes"]
nalgebra_affine = ["nalgebra", "simba"]
ndarray_volumes = ["ndarray"]