7 releases (breaking)
Uses new Rust 2024
0.5.0 | May 6, 2025 |
---|---|
0.4.0 | May 2, 2025 |
0.3.1 | Apr 9, 2025 |
0.2.0 | Apr 5, 2025 |
0.0.0 | Apr 4, 2025 |
#1200 in Encoding
472 downloads per month
61KB
1K
SLoC
conststr
conststr
is a Rust crate for const
-compatible, owning strings.
Feature flags
The following features are enabled by default:
alloc
: Enables implementations foralloc
facilitiesstd
: Enables implementations forstd
facilities
The following features may additionally be enabled:
bytemuck
: Enables implementations forbytemuck
traitsoct
: Enables implementations for Oct facilitiesserde
: Enables implementations for Serde facilitieszerocopy
: Enables implementations for Zerocopy traits
Copyright & Licence.
Copyright © 2025 Gabriel Bjørnager Jensen.
conststr
is distributed under either an MIT licence (see LICENCE-MIT
) or version 2.0 of the Apache License (see LICENCE-APACHE
), at your option.
Dependencies
~0–405KB