Cargo Features
[dependencies]
among = { version = "0.1.7", default-features = false, features = ["std", "futures", "tokio", "either", "serde"] }
- default = std
-
The
std
feature is set by default wheneveramong
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables use_std of optional either, std of optional futures-io
- futures = futures-io
- tokio
-
Enables tokio
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.
- either implicit feature
-
Enables either
either:
The enum
Either
with variantsLeft
andRight
is a general purpose sum type with two cases - futures-io futures?
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
Affects
among::serde_untagged
,among::serde_untagged_optional
…