Checked owned and borrowed Unicode-based identifiers.
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.
rust
: Provide the rust
module, containing an Invariant
and type
aliases to Ck
and Check
for Rust identifiers. Disabled by default.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;