forked from LDeakin/zarrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
144 lines (125 loc) · 4.45 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
[package]
name = "zarrs"
version = "0.14.0"
authors = ["Lachlan Deakin <[email protected]>"]
edition = "2021"
rust-version = "1.75"
description = "A library for the Zarr V3 storage format for multidimensional arrays and metadata"
documentation = "https://docs.rs/zarrs"
repository = "https://github.com/LDeakin/zarrs"
license = "MIT OR Apache-2.0"
keywords = ["zarr"]
categories = ["encoding"]
exclude = [".dockerignore", ".github", ".editorconfig", "Dockerfile", "coverage.sh", "TODO.md"]
[features]
default = ["ndarray", "blosc", "crc32c", "gzip", "sharding", "transpose", "zstd"]
bitround = [] # Enable the experimental bitround codec
blosc = ["dep:blosc-sys"] # Enable the blosc codec
bz2 = ["dep:bzip2"] # Enable the experimental bz2 codec
crc32c = ["dep:crc32c"] # Enable the crc32c checksum codec
gzip = ["dep:flate2"] # Enable the gzip codec
pcodec = ["dep:pco"] # Enable the experimental pcodec codec
sharding = [] # Enable the sharding codec
transpose = ["dep:ndarray"] # Enable the transpose codec
zfp = ["dep:zfp-sys"] # Enable the experimental zfp codec
zstd = ["dep:zstd"] # Enable the zstd codec
http = ["dep:reqwest", "dep:url"] # Enable the sync HTTP store
zip = ["dep:zip"] # Enable the zip storage adapter
ndarray = ["dep:ndarray"] # Adds ndarray utility functions to Array
async = ["dep:async-trait", "dep:async-recursion", "dep:async-lock", "dep:futures"] # Enable experimental async API
object_store = ["dep:object_store"] # Enable object_store asynchronous stores support
opendal = ["dep:opendal"] # Enable opendal asynchronous stores support
[package.metadata.docs.rs]
all-features = true
[lib]
crate-type = ["lib"]
bench = false
[dependencies]
async-lock = { version = "3.2.0", optional = true }
async-recursion = { version = "1.0.5", optional = true }
async-trait = { version = "0.1.74", optional = true }
blosc-sys = { version = "0.3.0", package = "blosc-src", features = ["lz4", "zlib", "zstd"], optional = true }
bytemuck = { version = "1.14.0", features = ["extern_crate_alloc"] }
bytes = "1.5.0"
bzip2 = { version = "0.4.4", optional = true, features = ["static"] }
crc32c = { version = "0.6.5", optional = true }
derive_more = "0.99.0"
dyn-clone = "1.0.0"
flate2 = { version = "1.0.28", optional = true }
futures = { version = "0.3.29", optional = true }
half = { version = "2.0.0", features = ["bytemuck"] }
inventory = "0.3.0"
itertools = "0.12.0"
ndarray = { version = "0.15.0", optional = true }
num = { version = "0.4.1" }
object_store = { version = "0.9.0", optional = true }
opendal = { version = "0.45.0", optional = true }
parking_lot = "0.12.0"
pathdiff = "0.2.0"
pco = { version = "0.2.1", optional = true }
rayon = "1.8.0"
rayon_iter_concurrent_limit = "0.2.0"
reqwest = { version = "0.11.18", features = ["blocking"], optional = true }
serde = { version = "1.0.184", features = ["derive"] }
serde_json = { version = "1.0.71", features = ["float_roundtrip", "preserve_order"] }
thiserror = "1.0.7"
url = { version = "2.2.0", optional = true }
walkdir = "2.3.2"
zfp-sys = {version = "0.1.15", features = ["static"], optional = true }
zip = { version = "0.6.6", optional = true } # 1.0 = maintainer change?
zstd = { version = "0.13.1", features = ["zstdmt"], optional = true }
base64 = "*"
netrc = "*"
[dev-dependencies]
chrono = "0.4"
criterion = "0.5.1"
tempfile = "3"
tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread"] }
[build-dependencies]
rustversion = "1.0.14"
[[example]]
name = "array_write_read"
required-features = ["ndarray"]
doc-scrape-examples = true
[[example]]
name = "array_write_read_ndarray"
required-features = ["ndarray"]
doc-scrape-examples = true
[[example]]
name = "async_array_write_read"
required-features = ["ndarray", "async", "object_store"]
doc-scrape-examples = true
[[example]]
name = "async_http_array_read"
required-features = ["ndarray", "async", "object_store/http"]
doc-scrape-examples = true
[[example]]
name = "http_array_read"
required-features = ["ndarray", "http"]
doc-scrape-examples = true
[[example]]
name = "rectangular_array_write_read"
required-features = ["ndarray"]
doc-scrape-examples = true
[[example]]
name = "sharded_array_write_read"
required-features = ["ndarray", "sharding"]
[[example]]
name = "zip_array_write_read"
required-features = ["ndarray", "zip"]
doc-scrape-examples = false
[[bench]]
name = "array_subset"
harness = false
[[bench]]
name = "array_uncompressed"
harness = false
[[bench]]
name = "array_blosc"
harness = false
[[bench]]
name = "codecs"
harness = false
[[bench]]
name = "fill_value"
harness = false