Crates.io | box |
lib.rs | box |
version | 0.2.0 |
source | src |
created_at | 2024-03-15 13:04:41.61564 |
updated_at | 2024-03-15 13:49:26.666872 |
description | The package provides a storage for unique static strings. |
homepage | https://github.com/stainless-steel/box |
repository | https://github.com/stainless-steel/box |
max_upload_size | |
id | 1174740 |
size | 8,836 |
The package provides a storage for unique static strings.
use r#box::Symbol;
let one = Symbol::new("foo");
let other = Symbol::new("foo");
assert_eq!(one.as_ptr(), other.as_ptr());
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.