6 releases

0.2.0 Aug 15, 2020
0.1.10 Jul 5, 2019
0.1.8 Oct 11, 2018

#1806 in Rust patterns

36 downloads per month
Used in 4 crates (via kg-tree)

MIT/Apache

24KB
667 lines

kg-symbol

Latest Version Documentation Build Status codecov

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
Build1 Build2 Build3

License

Licensed under either of

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 (c) 2018 Kodegenix Sp. z o.o. http://www.kodegenix.pl

Dependencies

~0.6–1.2MB
~21K SLoC