1 release (0 unstable)

2.0.0-beta1 Nov 23, 2024

#429 in Internationalization (i18n)

Download history 143/week @ 2024-11-18 42/week @ 2024-11-25 23/week @ 2024-12-02 32/week @ 2024-12-09

240 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