Cargo Features
[dependencies]
trident3-base = { version = "3.0.1", default-features = false, features = ["allocators", "networking", "std-allocators", "rustc-dep-of-std", "threads"] }
- default = allocators
-
The
allocators
feature is set by default whenevertrident3-base
is added without
somewhere in the dependency tree.default-features = false - allocators default
-
Affects
trident3-base::alloc
,trident3-base::array
,trident3-base::string
… - coroutines global-allocator networking
- std-allocators
- rustc-dep-of-std = compiler_builtins, rustc-std-workspace-core
-
Enables rustc-dep-of-std of cfg-if
- threads
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.