1 unstable release
new 0.1.0 | Mar 2, 2025 |
---|
#2257 in Encoding
127 downloads per month
195KB
4K
SLoC
zarrs_plugin
The plugin API for the zarrs
Rust crate.
A Plugin
creates concrete implementations of Zarr V3 extension points from inputs.
Extension points include chunk grids, chunk key encodings, codecs, data types, and storage transformers.
In zarrs
, plugins are registered at compile time using the inventory
crate.
At runtime, a name matching function is applied to identify which registered plugin is associated with the metadata.
If a match is found, the plugin is created from the metadata and other relevant inputs.
Licence
zarrs_plugin
is licensed under either of
- the Apache License, Version 2.0 LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0 or
- the MIT license LICENSE-MIT or http://opensource.org/licenses/MIT, at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Dependencies
~2.3–3.5MB
~69K SLoC