Cargo Features

CheapClone has no features set by default.

[dependencies]
cheap-clone = { version = "0.1.2", features = ["std", "alloc", "bytes", "either", "smol_str"] }
std = alloc
alloc std?

Features from optional dependencies

bytes implicit feature

Enables bytes

bytes:

Types and traits for working with bytes

either implicit feature

Enables either

either:

The enum Either with variants Left and Right is a general purpose sum type with two cases

smol_str implicit feature

Enables smol_str

smol_str:

small-string optimized string type with O(1) clone