Cargo Features
[dependencies]
linearize = { version = "0.1.1", default-features = false, features = ["std", "alloc", "all", "derive", "serde-1", "arbitrary-1", "bytemuck-1", "rand-0_8"] }
- default = std
-
The
std
feature is set by default wheneverlinearize
is added without
somewhere in the dependency tree.default-features = false - std default all? = alloc
-
Affects
storage::Storage.vec_try_from
… - alloc all? std
-
Enables alloc of optional rand
rand:
Option: "alloc" enables support for Vec and Box when not using "std"
- all = alloc, arbitrary-1, bytemuck-1, derive, rand-0_8, serde-1, std
- derive all?
-
Enables linearize-derive
- serde-1 all?
-
Enables serde
Affects
foreign::serde_1
… - arbitrary-1 all?
-
Enables arbitrary
- bytemuck-1 all?
-
Enables bytemuck
- rand-0_8 all?
-
Enables rand