Cargo Features
[dependencies]
nolock = { version = "0.4.1", default-features = false, features = ["std", "full", "queues", "thread_data", "hazard_ptr", "hyaline", "hash_trie", "allocator", "async"] }
- default = full
-
The
full
feature is set by default whenevernolock
is added without
somewhere in the dependency tree.default-features = false - std allocator? full hazard_ptr? thread_data?
- full default = allocator, hazard_ptr, queues, std, thread_data
- queues full hazard_ptr?
-
Affects
nolock::queues
… - thread_data full hazard_ptr? = std
-
Affects
nolock::thread_data
… - hazard_ptr full = lazy_static, queues, std, thread_data
-
Affects
nolock::hazard_ptr
… - hyaline hash_trie? = atomic
-
Affects
nolock::hyaline
,mpmc::unbounded
… - hash_trie = hyaline
-
Affects
nolock::hash_trie
… - allocator full = lazy_static, std
-
Affects
nolock::allocator
… - async = futures
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.
- futures async?
- lazy_static allocator? hazard_ptr?
- atomic hyaline?
-
Enables atomic ^0.5