mf2 2.0.0

Unicode MessageFormat 2 for Rust, for Leptos web applications and native CLI and terminal applications: the one crate an application names — the call-site types, the Leptos layer, the native application support and its Ratatui text behind features, the formatter, and compile_str for ad-hoc messages.
Documentation
//! The names the server and the browser's client share, so that the two
//! cannot drift: `mf2::axum` serves and negotiates with them, and the Leptos
//! layer's client writes and reads them (`mf2::leptos::links`, which
//! re-exports them).

#![allow(
    unreachable_pub,
    reason = "public as `mf2::leptos::links`'s with a Leptos mode, crate-internal without"
)]

/// The cookie a switch writes under `static-locale`, and that `mf2::axum`'s
/// `CookieLocale` reads by default: a switch there is this cookie and a
/// reload (D7 strategy C).
pub const LOCALE_COOKIE: &str = "mf2_locale";

/// The query parameter `mf2::axum`'s `QueryParam` reads by default. It ranks
/// above the cookie, so a `static-locale` switch removes it from the address
/// before reloading — otherwise the reload would negotiate the old locale.
pub const LOCALE_QUERY: &str = "lang";

/// Where the catalogs are served from, and what `/i18n/<tag>` redirects
/// within. `mf2::axum` mounts its routes here.
pub const CATALOG_ROUTE: &str = "/i18n/";