3 releases

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

#1589 in Rust patterns

Download history 7667/week @ 2024-03-13 7272/week @ 2024-03-20 7696/week @ 2024-03-27 6457/week @ 2024-04-03 9564/week @ 2024-04-10 10872/week @ 2024-04-17 6028/week @ 2024-04-24 7243/week @ 2024-05-01 4979/week @ 2024-05-08 5698/week @ 2024-05-15 10037/week @ 2024-05-22 9082/week @ 2024-05-29 7938/week @ 2024-06-05 8744/week @ 2024-06-12 8946/week @ 2024-06-19 8667/week @ 2024-06-26

35,674 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

~160KB