#![cfg_attr(not(any(test, feature = "std")), no_std)]
#![cfg_attr(
not(test),
deny(
clippy::indexing_slicing,
clippy::unwrap_used,
clippy::expect_used,
clippy::panic,
)
)]
#![allow(
clippy::needless_lifetimes,
clippy::result_unit_err,
clippy::should_implement_trait
)]
#[cfg(target_arch = "wasm32")]
extern crate std as rust_std;
#[cfg(all(not(feature = "std"), feature = "looping_panic_handler"))]
#[panic_handler]
fn panic(_info: &core::panic::PanicInfo) -> ! {
loop {}
}
extern crate alloc;
#[cfg(all(not(feature = "std"), feature = "libc_alloc"))]
extern crate libc_alloc;
pub mod errors;
pub mod locale_core;
#[cfg(feature = "logging")]
pub mod logging;
#[macro_use]
pub mod provider;
#[cfg(feature = "properties")]
pub mod bidi;
#[cfg(any(feature = "datetime", feature = "timezone", feature = "calendar"))]
pub mod calendar;
#[cfg(feature = "casemap")]
pub mod casemap;
#[cfg(feature = "collator")]
pub mod collator;
#[cfg(feature = "properties")]
pub mod collections_sets;
#[cfg(any(feature = "datetime", feature = "timezone", feature = "calendar"))]
pub mod date;
#[cfg(any(feature = "datetime", feature = "timezone", feature = "calendar"))]
pub mod datetime;
#[cfg(feature = "datetime")]
pub mod datetime_formatter;
#[cfg(feature = "decimal")]
pub mod decimal;
#[cfg(feature = "experimental")]
pub mod displaynames;
#[cfg(feature = "locale")]
pub mod exemplar_chars;
#[cfg(feature = "locale")]
pub mod fallbacker;
#[cfg(feature = "decimal")]
pub mod fixed_decimal;
#[cfg(feature = "list")]
pub mod list;
#[cfg(feature = "locale")]
pub mod locale;
#[cfg(feature = "locale")]
pub mod locale_directionality;
#[cfg(feature = "normalizer")]
pub mod normalizer;
#[cfg(feature = "normalizer")]
pub mod normalizer_properties;
#[cfg(feature = "plurals")]
pub mod pluralrules;
#[cfg(feature = "properties")]
pub mod properties_iter;
#[cfg(feature = "properties")]
pub mod properties_maps;
#[cfg(feature = "properties")]
pub mod properties_names;
#[cfg(feature = "properties")]
pub mod properties_sets;
#[cfg(feature = "properties")]
pub mod properties_unisets;
#[cfg(feature = "properties")]
pub mod script;
#[cfg(feature = "segmenter")]
pub mod segmenter_grapheme;
#[cfg(feature = "segmenter")]
pub mod segmenter_line;
#[cfg(feature = "segmenter")]
pub mod segmenter_sentence;
#[cfg(feature = "segmenter")]
pub mod segmenter_word;
#[cfg(any(feature = "datetime", feature = "timezone", feature = "calendar"))]
pub mod time;
#[cfg(any(feature = "datetime", feature = "timezone"))]
pub mod timezone;
#[cfg(any(feature = "datetime", feature = "timezone"))]
pub mod timezone_mapper;
#[cfg(feature = "experimental")]
pub mod units_converter;
#[cfg(feature = "calendar")]
pub mod week;
#[cfg(feature = "datetime")]
pub mod zoned_formatter;