//! String support
// TODO(tarcieri): use `unicode-normalization` when it fully supports `no_std`. See:
// <https://github.com/unicode-rs/unicode-normalization/issues/58>
use crate;
/// Check if a string is canonical.
///
/// We presently limit strings to the ASCII range, but in the future this
/// should be relaxed to allow any UTF-8 string containing normalized Unicode
/// (NOTE: exactly what constitutes canonical/normalized Unicode, e.g. NFC vs
/// NFD, is TBD)