-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
123 lines (107 loc) · 3.36 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
[package]
name = "zarrs_tools"
version = "0.6.0"
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"]
[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"] }
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.1.0", optional = true }
opendal = { version = "0.49", 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.31.0", default-features = false, features = ["system"] }
tempfile = "3.10.1"
thiserror = "1.0.57"
tokio = { version = "1.34.0", features = ["macros", "rt-multi-thread"] }
unsafe_cell_slice = "0.1.0"
zarrs = { version = "0.17.0-beta.0" }
# zarrs_object_store = { version = "0.1.0" }
zarrs_opendal = { version = "0.1.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 = []
[profile.dist]
inherits = "release"
lto = "thin"
[profile.release]
# strip = true
# lto = true
# codegen-units = 1
# panic = "abort"
debug = true
# [workspace.metadata.dist]
# cargo-dist-version = "0.10.0"
# ci = ["github"]
# installers = []
# targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-pc-windows-msvc"]
# pr-run-mode = "plan"
# all-features = false
# create-release = false
# [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_storage = { path = "../zarrs/zarrs_storage" }
# zarrs_opendal = { path = "../zarrs/zarrs_opendal" }
# zarrs = { git = "https://github.com/LDeakin/zarrs.git" }
# zarrs_opendal = { git = "https://github.com/LDeakin/zarrs.git" }
# zarrs_object_store = { git = "https://github.com/LDeakin/zarrs.git" }