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

bos

Flexible Borrowed, Owned or Shared (B.O.S.) smart pointers. Like std's Cow but with Rc/Arc and without the ToOwned requirement

10 releases

0.3.1 Aug 22, 2021
0.3.0 Aug 22, 2021
0.2.2 Jul 24, 2021
0.1.1 Jul 18, 2021

#2324 in Rust patterns

MIT/Apache

48KB
1K SLoC

bos

Flexible Borrowed, Owned or Shared (B.O.S.) smart pointers. Like std's Cow but with Rc/Arc and without the ToOwned requirement.

Have a look at the documentation for more information.

Safety

This crate uses #![forbid(unsafe_code)]. We want to keep this crate 100% safe and its dependencies to a minimum. Currently this crate has no dependencies using unsafe code, unless you activate the serde feature, which brings in the serde crate, that has some code using unsafe.

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.

Dependencies

~155KB