#smart-pointers #pointers #rc #cow #shared-ptr #shared #string

boar

Flexible clone on write smart pointers with Borrowed, Owned, Arc, Rc and Static variants. Like std's Cow without the ToOwned requirement and additional Rc, Arc or Static variants

9 releases

0.2.4 Nov 27, 2021
0.2.3 Nov 27, 2021
0.1.2 Oct 26, 2021
0.1.1 Sep 12, 2021

#2108 in Rust patterns

28 downloads per month

MIT/Apache

76KB
2K SLoC

boar

Flexible clone on write smart pointers with Borrowed, Owned, Arc and Rc variants. Like std's Cow without the ToOwned requirement and additional Rc or Arc variants.

Have a look at the documentation for more information.

Safety

This crate has no unsafe code and uses #![forbid(unsafe_code)].

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

No runtime deps