#identifier #unicode #ident #validate #text

strck_ident

Checked owned and borrowed Unicode-based identifiers

3 releases

0.1.2 Oct 20, 2022
0.1.1 Aug 23, 2022
0.1.0 Aug 1, 2022

#1590 in Rust patterns

Download history 7211/week @ 2023-11-27 7110/week @ 2023-12-04 5230/week @ 2023-12-11 4393/week @ 2023-12-18 2995/week @ 2023-12-25 3455/week @ 2024-01-01 3617/week @ 2024-01-08 2901/week @ 2024-01-15 3258/week @ 2024-01-22 4840/week @ 2024-01-29 4525/week @ 2024-02-05 5140/week @ 2024-02-12 4260/week @ 2024-02-19 5492/week @ 2024-02-26 6835/week @ 2024-03-04 2894/week @ 2024-03-11

19,707 downloads per month
Used in 7 crates (via diplomat_core)

MIT license

44KB
538 lines

github-img crates-img docs-img

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

~170KB