4 releases (1 stable)
1.0.0 | Oct 14, 2024 |
---|---|
0.1.2 | Oct 20, 2022 |
0.1.1 | Aug 23, 2022 |
0.1.0 | Aug 1, 2022 |
#611 in Memory management
19,783 downloads per month
Used in 7 crates
(via diplomat_core)
46KB
578 lines
Checked owned and borrowed Unicode-based identifiers.
🚧 Deprecation Notice 🚧
This crate has been merged into strck
under the ident
feature flag,
and now is a thin wrapper that just re-exports from it.
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.
Documentation
See the crate-level documentation for more details.
Dependencies
~160KB