Cargo Features
[dependencies]
cheap-clone = { version = "0.3.0", default-features = false, features = ["std", "alloc", "among", "bytes_1", "either", "smol_str_0_3", "smol_str_0_2", "triomphe_0_1", "faststr_0_2"] }
- default = std
-
The
std
feature is set by default whenevercheap-clone
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables optional either, optional faststr, optional smol_str ^0.2, and optional smol_str, std of optional triomphe
- alloc
Features from optional dependencies
- among implicit feature
- bytes_1 implicit feature
-
Enables bytes
bytes:
Types and traits for working with bytes
- either implicit feature
-
Enables either
either:
The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases - smol_str_0_3 implicit feature
-
Enables smol_str
smol_str:
small-string optimized string type with O(1) clone
- smol_str_0_2 implicit feature
-
Enables smol_str ^0.2
- triomphe_0_1 implicit feature
-
Enables triomphe
- faststr_0_2 implicit feature
-
Enables faststr
faststr:
Faststr is a string library that reduces the cost of clone