Cargo Features
[dependencies]
moveref = { version = "1.0.0", default-features = false, features = ["std", "alloc", "debug", "cxx", "valgrind"] }
- default = cxx, std
-
These default features are set whenever
moveref
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- debug = tracing
- cxx default
-
With c++20
- valgrind
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.