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

#1045 in Rust patterns

Download history 14778/week @ 2024-08-17 10459/week @ 2024-08-24 13358/week @ 2024-08-31 14096/week @ 2024-09-07 10519/week @ 2024-09-14 9639/week @ 2024-09-21 11333/week @ 2024-09-28 11360/week @ 2024-10-05 11783/week @ 2024-10-12 8148/week @ 2024-10-19 5700/week @ 2024-10-26 4614/week @ 2024-11-02 4488/week @ 2024-11-09 3947/week @ 2024-11-16 3082/week @ 2024-11-23 3110/week @ 2024-11-30

15,240 downloads per month

MIT license

46KB
578 lines

github-img crates-img docs-img

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 Invariants 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

~155KB