[package]
edition = "2021"
rust-version = "1.86"
name = "intl"
version = "0.2.3"
build = false
include = [
"src/**/*.rs",
"src/cldr/*.bin",
"src/unicode/*.bin",
"Cargo.toml",
"README.md",
"LICENSE",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust, no_std internationalization primitives (a pure-Rust ICU analog). The `unicode` module provides General_Category, character predicates, scripts, East Asian Width, numeric values, case mapping/folding, UAX #15 normalization (NFC/NFD/NFKC/NFKD), and UTS #10 collation — property tables compiled into const-fn match lookups, with feature-selectable codepoint ranges."
readme = "README.md"
keywords = [
"intl",
"unicode",
"no_std",
"i18n",
"ucd",
]
categories = [
"no-std",
"internationalization",
"text-processing",
]
license = "MIT"
repository = "https://github.com/KarpelesLab/intlrs"
[features]
alloc = ["full"]
ascii = []
bidi = []
bmp = ["latin1"]
case = [
"normalization",
"segmentation",
]
collation = [
"case",
"alloc",
]
confusables = [
"normalization",
"alloc",
]
default = [
"full",
"alloc",
"names",
"normalization",
"segmentation",
"bidi",
"case",
"identifiers",
"collation",
"idna",
"confusables",
"iana-tz",
]
full = ["bmp"]
iana-tz = [
"dep:timezone-data",
"alloc",
]
identifiers = []
idna = [
"normalization",
"alloc",
]
latin1 = ["ascii"]
names = ["alloc"]
normalization = []
segmentation = []
[lib]
name = "intl"
path = "src/lib.rs"
[dependencies.timezone-data]
version = "0.1"
optional = true
[dev-dependencies.criterion]
version = "0.5"
default-features = false