Cargo Features
[dependencies]
auto_enums = { version = "0.8.7", default-features = false, features = ["type_analysis", "transpose_methods", "std", "ops", "convert", "fmt", "futures03", "futures01", "rayon", "serde", "tokio1", "tokio03", "tokio02", "tokio01", "http_body1", "unstable", "coroutine_trait", "generator_trait", "fn_traits", "trusted_len"] }
- default = std
-
Default features.
- type_analysis
-
Analyze return type of function and
letbinding. - transpose_methods
-
Enable to use
transpose*methods. - std default
-
[std|core] libraries
Enable to use
stdlibrary's traits. - ops
-
Enable to use
[std|core]::ops'sDeref,DerefMut,Index,IndexMut, andRangeBoundstraits. - convert
-
Enable to use
[std|core]::convert'sAsRefandAsMuttraits. - fmt
-
Enable to use
[std|core]::fmt's traits other thanDebug,DisplayandWrite - futures03
-
Using external libraries
- futures01
-
- rayon
-
- serde
-
- tokio1
-
- tokio03
-
- tokio02
-
- tokio01
-
- http_body1
-
- unstable
-
Unstable features These features are outside of the normal semver guarantees and require the
unstablefeature as an explicit opt-in to unstable API. - coroutine_trait generator_trait?
-
Enable unstable features of [std|core] libraries
Enable to use
[std|core]::ops::Coroutinetrait. - generator_trait = coroutine_trait
-
alias for coroutine_trait; TODO: remove in the next breaking release
- fn_traits
-
Enable to use
[std|core]::ops'sFn,FnMut, andFnOncetraits. - trusted_len
-
Enable to use
[std|core]::iter::TrustedLentrait.
Features from optional dependencies
Note: futures, tokio, rayon, serde, and http-body are public dependencies.