-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
119 lines (103 loc) · 3.15 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
[package]
name = "zarrs_tools"
version = "0.6.1"
authors = ["Lachlan Deakin <[email protected]>"]
edition = "2021"
rust-version = "1.80"
description = "Tools for creating and manipulating Zarr V3 data"
documentation = "https://docs.rs/zarrs_tools"
repository = "https://github.com/LDeakin/zarrs_tools"
license = "MIT OR Apache-2.0"
keywords = ["zarr"]
categories = ["command-line-utilities", "encoding"]
exclude = [
"docs/*.pdf",
"docs/*.csv"
]
[features]
async = ["zarrs/async"] # "dep:object_store"
benchmark = []
binary2zarr = []
filter = []
info = []
ncvar2zarr = ["dep:netcdf"]
ome = ["dep:ome_zarr_metadata"]
validate = []
[dependencies]
anyhow = "1.0.86"
approx = "0.5.1"
async-scoped = { version = "0.9.0", features = ["use-tokio"] }
bytemuck = "1.16.0"
clap = { version = "4.4.6", features = ["derive"] }
const_format = "0.2.33"
enum_dispatch = "0.3.12"
futures = "0.3.29"
half = { version = "2.4.0", features = ["num-traits"] }
indicatif = { version = "0.17.7", features = ["rayon"] }
itertools = "0.13.0"
ndarray = { version = "0.16.0", features = ["approx", "rayon"] }
netcdf = { version = "0.10.2", optional = true, features = ["static"] }
num-traits = "0.2.18"
# object_store = { version = "0.11.0", optional = true, features = ["http"] } # , "aws"
ome_zarr_metadata = { version = "0.2.0", optional = true }
opendal = { version = "0.50", default-features = false, features = ["services-fs", "services-http"] } # , "services-s3"
rayon = "1.10.0"
rayon_iter_concurrent_limit = "0.2.0"
serde = { version = "1.0.197", features = ["derive"] }
serde_json = "1.0.107"
sysinfo = { version = "0.32.0", default-features = false, features = ["system"] }
tempfile = "3.10.1"
thiserror = "2.0.0"
tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread"] }
unsafe_cell_slice = "0.2.1"
zarrs = { version = "0.18.0" }
# zarrs_object_store = { version = "0.1.0" }
zarrs_opendal = { version = "0.4.0" }
[[bin]]
name = "zarrs_benchmark_read_sync"
required-features = ["benchmark"]
[[bin]]
name = "zarrs_benchmark_read_async"
required-features = ["async", "benchmark"]
[[bin]]
name = "zarrs_benchmark_read_async_as_sync"
required-features = ["async", "benchmark"]
[[bin]]
name = "zarrs_binary2zarr"
required-features = ["binary2zarr"]
[[bin]]
name = "zarrs_filter"
required-features = ["filter"]
[[bin]]
name = "zarrs_info"
required-features = ["info"]
[[bin]]
name = "zarrs_ncvar2zarr"
required-features = ["ncvar2zarr"]
[[bin]]
name = "zarrs_ome"
required-features = ["ome"]
[[bin]]
name = "zarrs_reencode"
required-features = []
[[bin]]
name = "zarrs_validate"
required-features = ["validate"]
[profile.dist]
inherits = "release"
lto = "thin"
# [profile.release]
# strip = true
# lto = true
# codegen-units = 1
# panic = "abort"
# debug = true
# [workspace.metadata.dist.github-custom-runners]
# aarch64-apple-darwin = "macos-14"
# x86_64-apple-darwin = "macos-12"
[patch.crates-io]
# zarrs = { path = "../zarrs/zarrs" }
# zarrs_opendal = { path = "../zarrs/zarrs_opendal" }
# zarrs = { git = "https://github.com/LDeakin/zarrs.git" }
# zarrs_opendal = { git = "https://github.com/LDeakin/zarrs.git" }
# ome_zarr_metadata = { git = "https://github.com/LDeakin/rust_ome_zarr_metadata.git" }