1 release (0 unstable)

2.0.0-beta1 Nov 23, 2024

#459 in Internationalization (i18n)

Download history 162/week @ 2024-11-20 28/week @ 2024-11-27 35/week @ 2024-12-04 24/week @ 2024-12-11 52/week @ 2024-12-18 63/week @ 2025-01-01 65/week @ 2025-01-08 18/week @ 2025-01-15

146 downloads per month
Used in 3 crates (2 directly)

Unicode-3.0

31KB
316 lines

icu_provider_registry crates.io

Exposes the list of all known DataMarkers.

This is modeled as a macro that accepts a callback macro of the shape:

macro_rules! cb {
    ($($marker:path = $path:literal,)+ #[experimental] $($emarker:path = $epath:literal,)+) => {
        // Do something for each marker, or each experimental marker
    };
}

Calling this as registry!(cb); evaluates cb with the list of markers.

More Information

For more information on development, authorship, contributing etc. please visit ICU4X home page.


lib.rs:

Exposes the list of all known DataMarkers.

This is modeled as a macro that accepts a callback macro of the shape:

macro_rules! cb {
    ($($marker:path = $path:literal,)+ #[experimental] $($emarker:path = $epath:literal,)+) => {
        // Do something for each marker, or each experimental marker
    };
}

Calling this as registry!(cb); evaluates cb with the list of markers.

No runtime deps