zarrs_registry 0.1.2

The Zarr extension point registry for the zarrs crate
Documentation
//! Zarr versions.
//!
//! - [Zarr Version 3 Specification](https://zarr-specs.readthedocs.io/en/latest/v3/core/index.html)
//! - [Zarr Version 2 Specification](https://zarr-specs.readthedocs.io/en/latest/v2/v2.0.html)

use std::fmt::Debug;

/// Marker trait for Zarr versions.
pub trait ZarrVersion: Debug + Default {}

/// Zarr Version 3.
#[derive(Debug, Default)]
pub struct ZarrVersion3;

/// Zarr Version 2.
#[derive(Debug, Default)]
pub struct ZarrVersion2;

impl ZarrVersion for ZarrVersion3 {}
impl ZarrVersion for ZarrVersion2 {}