-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathCargo.toml
45 lines (40 loc) · 1.42 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
[package]
name = "vtkio"
version = "0.7.0-rc1"
authors = ["Egor Larionov <egor.larionov@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Parser and writer for the legacy VTK file format"
readme = "README.md"
edition = "2021"
homepage = "https://github.com/elrnv/vtkio"
repository = "https://github.com/elrnv/vtkio"
documentation = "https://docs.rs/vtkio"
keywords = ["vtk", "parser", "writer", "io", "mesh"]
[dependencies]
nom = "7"
num-traits = "0.2"
num-derive = "0.4"
byteorder = "1.3"
base64 = "0.22"
bytemuck = { version = "1.5", features = ["extern_crate_alloc"] }
lz4 = { package = "lz4_flex", version = "0.11", optional = true }
flate2 = { version = "1.0.19", optional = true }
xz2 = { version = "0.1.6", optional = true } # LZMA
# quick-xml = { path = "../quick-xml", features = ["serialize"], optional = true }
quick-xml = { git = "https://github.com/elrnv/quick-xml.git", branch = "binary-support4", version = "0.36", features = ["serialize"], optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
tokio = { version = "1.3", features = ["fs", "io-util"], optional = true }
rayon = { version = "1.0", optional = true }
log = "0.4"
trim-in-place = "0.1"
[dev-dependencies]
regex = "1.0"
pretty_assertions = "1.0"
env_logger = "0.11"
[features]
default = ["xml", "compression"]
async = ["tokio"]
compression = ["lz4", "xz2", "flate2"]
parallel = ["rayon"]
xml = ["quick-xml", "serde"]
# binary = []