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
somewhere in the dependency tree.default-features = false - 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.
- clippy default
-
Enables clippy ^0.0.85