Cargo Features
[dependencies]
cglue = { version = "0.3.4", default-features = false, features = ["std", "rust_void", "unstable", "task", "layout_checks", "futures", "serde", "log"] }
- default = std
-
The
std
feature is set by default whenevercglue
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of no-std-compat and tarc
- rust_void
-
Enables rust_void of cglue-macro
Affects
trait_group::c_void
… - unstable = try_default
-
Enables unstable of cglue-macro
- task futures?
-
Enables task of cglue-macro
Affects
cglue::task
,ext::future
… - layout_checks = abi_stable
-
Enables layout_checks of cglue-macro
Affects
trait_group::ContextBounds
,trait_group::GenericTypeBounds
,trait_group::OpaqueVtblBounds
,trait_group::VerifyLayout
,trait_group::compare_layouts
… - futures = task
-
Enables futures, futures of cglue-macro
Affects
ext::futures
…
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.
- serde implicit feature
-
Enables serde
serde:
A generic serialization/deserialization framework
- try_default unstable?
-
Enables try_default =1.0.0
- abi_stable layout_checks?
-
Enables abi_stable ^0.10
- log implicit feature
-
Enables log
log:
A lightweight logging facade for Rust