Cargo Features

beef has no features set by default.

[dependencies]
beef = { version = "0.5.2", features = ["const_fn", "impl_serde"] }
const_fn

adds Cow::const_slice, the const fn alternative to Cow::borrowed for generic &[T] slices. requires nightly: https://github.com/rust-lang/rust/issues/57563

impl_serde = serde

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

serde impl_serde?