simd_json/cow.rs
1//! Re-export of Cow
2//!
3//! If feature `beef` is enabled, this will re-export [`beef::lean::Cow`][beef].
4//! Otherwise, it will re-export [`std::borrow::Cow`].
5//!
6//! [beef]: https://docs.rs/beef/latest/beef/lean/type.Cow.html
7#[cfg(not(feature = "beef"))]
8pub use std::borrow::Cow;
9
10#[cfg(feature = "beef")]
11pub use beef::lean::Cow;