2 unstable releases
0.2.0 | Apr 26, 2025 |
---|---|
0.1.0 | Mar 2, 2025 |
#2671 in Encoding
224 downloads per month
Used in zarrs_data_type
9KB
106 lines
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
~235–680KB
~16K SLoC