Cargo Features

[dependencies]
talc = { version = "4.4.1", default-features = false, features = ["counters", "nightly_api", "allocator", "fuzzing", "allocator-api2"] }
default = allocator, lock_api, nightly_api

These default features are set whenever talc is added without default-features = false somewhere in the dependency tree.

counters

Affects talc::counters

nightly_api default
allocator default = lock_api
fuzzing

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.

allocator-api2 implicit feature

Enables allocator-api2

allocator-api2:

Mirror of Rust's allocator API

lock_api default allocator

Affects talc::locking, oom_handler::WasmHandler