forked from Enet4/nifti-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
53 lines (45 loc) · 1.14 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
[package]
authors = ["Eduardo Pinho <enet4mikeenet@gmail.com>"]
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.14.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"
safe-transmute = "0.11"
either = "1.6"
[dependencies.nalgebra]
optional = true
version = "0.31"
[dependencies.ndarray]
optional = true
version = "0.15"
features = ["approx-0_5"]
[dependencies.simba]
default-features = false
optional = true
version = "0.7.1"
[dev-dependencies]
pretty_assertions = "1.2.1"
tempfile = "3.1"
[[example]]
name = "niftidump"
path = "examples/niftidump/main.rs"
[features]
default = ["ndarray_volumes"]
nalgebra_affine = ["nalgebra", "simba"]
ndarray_volumes = ["ndarray"]