6 releases
0.2.0 | Aug 15, 2020 |
---|---|
0.1.10 | Jul 5, 2019 |
0.1.8 | Oct 11, 2018 |
#1976 in Rust patterns
Used in 4 crates
(via kg-tree)
24KB
667 lines
kg-symbol
Atomic strings in Rust.
This crate provides a Symbol
type representing reference to an interned string.
Since there can only exist one Symbol with a given name, symbols equality can be established simply from pointer comparison.
Builds statuses for Rust channels
stable | beta | nightly |
---|---|---|
License
Licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
Copyright
Copyright (c) 2018 Kodegenix Sp. z o.o. http://www.kodegenix.pl
Dependencies
~0.6–1.1MB
~20K SLoC