shared_str 0.1.1

Shared str types providing more features over Rc<str> / Arc<str>
Documentation
1
2
3
4
5
6
use std::sync::Arc;

impl_shared_str!(ArcStr, Arc);

unsafe impl Send for ArcStr {}
unsafe impl Sync for ArcStr {}