Cargo Features

[dependencies]
ralloc = { version = "1.0.0", default-features = false, features = ["no_log_lock", "unsafe_no_mutex_lock", "alloc_id", "allocator", "debugger", "tls", "write", "log", "testing", "clippy"] }
default = allocator, clippy, tls

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

no_log_lock = log
security unsafe_no_mutex_lock
alloc_id log?
allocator default
debugger testing?
tls default

Affects allocator::LocalAllocator, fail::set_thread_oom_handler

write log?
log no_log_lock? testing? = alloc_id, write

Affects log::internal

testing = debugger, log

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](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).

clippy default

Enables clippy ^0.0.85