//! The `Format` struct and its implementations.
use crate*;
/// Various well-known formats, along with the possibility for a custom format
/// (provided either at compile-time or runtime).
// variants
// TODO We're only using `AsRef` for back-compatibility. In 0.3, switch this to
// `Into<Cow<'a, str>>`, which is both broader and avoids unnecessary clones.
// This will require the addition of a lifetime to the `Format` struct.