Expand description
Checked owned and borrowed Unicode-based identifiers.
§Overview
strck
is a crate for creating checked owned and borrowed strings with
arbitrary invariants as the type level. This crate extends strct
by providing
Invariant
s for Unicode identifiers and Rust identifiers.
In the future, this crate may support identifiers for other languages as well.
This crate re-exports Check
, Ck
, IntoCheck
, and IntoCk
from
strck
, so other libraries only have to depend on this crate.
§Feature flags
Re-exports§
pub use unicode::Ident;
pub use unicode::IdentBuf;
pub use strck::Check;
pub use strck::Ck;
pub use strck::IntoCheck;
pub use strck::IntoCk;
pub use strck::Invariant;
Modules§
- Checked strings containing Rust identifiers.
- Checked strings containing Unicode identifiers according to the Unicode Standard Annex #31.