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 whenever trident3-base is added without default-features = false somewhere in the dependency tree.

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.

compiler_builtins rustc-dep-of-std?
rustc-std-workspace-core rustc-dep-of-std?