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

Download history 11057/week @ 2024-08-02 14606/week @ 2024-08-09 15593/week @ 2024-08-16 10442/week @ 2024-08-23 11841/week @ 2024-08-30 14463/week @ 2024-09-06 11877/week @ 2024-09-13 9439/week @ 2024-09-20 11592/week @ 2024-09-27 10254/week @ 2024-10-04 11983/week @ 2024-10-11 9464/week @ 2024-10-18 5721/week @ 2024-10-25 4797/week @ 2024-11-01 4561/week @ 2024-11-08 3848/week @ 2024-11-15

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

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

~160KB