Cargo Features
[dependencies]
txn-core = { version = "0.1.3", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default whenevertxn-core
is added without
somewhere in the dependency tree.default-features = false - std default = alloc, thiserror
-
Enables indexmap, std of smallvec-wrapper
Affects
txn-core::DefaultHasher
… - alloc std = indexmap
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.
- thiserror std
-
Enables thiserror ^1
- indexmap alloc? std
- smallvec-wrapper std