#symbols #static-string #storage

box

The package provides a storage for unique static strings

2 unstable releases

0.2.0 Mar 15, 2024
0.1.0 Mar 15, 2024

#796 in Memory management

Download history 93/week @ 2026-05-16 72/week @ 2026-05-23 53/week @ 2026-05-30 18/week @ 2026-06-06 1/week @ 2026-07-11 71/week @ 2026-07-18 1/week @ 2026-07-25

73 downloads per month

Apache-2.0/MIT

7KB
131 lines

Box Package Documentation Build

The package provides a storage for unique static strings.

Example

use r#box::Symbol;

let one = Symbol::new("foo");
let other = Symbol::new("foo");
assert_eq!(one.as_ptr(), other.as_ptr());

Contribution

Your contribution is highly appreciated. Do not hesitate to open an issue or a pull request. Note that any contribution submitted for inclusion in the project will be licensed according to the terms given in LICENSE.md.

Dependencies

~210KB