Cargo Features

[dependencies]
supply-chain-trust-example-crate-000089 = { version = "0.9.8", default-features = false, features = ["std", "mutex", "spin_mutex", "ticket_mutex", "fair_mutex", "use_ticket_mutex", "rwlock", "once", "lazy", "barrier", "lock_api", "portable_atomic"] }
default = barrier, lazy, lock_api, mutex, once, rwlock, spin_mutex

These default features are set whenever supply-chain-trust-example-crate-000089 is added without default-features = false somewhere in the dependency tree.

std

Affects relax::Yield

mutex default barrier fair_mutex? spin_mutex ticket_mutex? use_ticket_mutex?

Affects supply-chain-trust-example-crate-000089::mutex, supply-chain-trust-example-crate-000089::Mutex, supply-chain-trust-example-crate-000089::lock_api.Mutex, supply-chain-trust-example-crate-000089::lock_api.MutexGuard

spin_mutex default = mutex

Affects mutex::spin

ticket_mutex use_ticket_mutex? = mutex

Affects mutex::ticket

fair_mutex = mutex

Affects mutex::fair

use_ticket_mutex = mutex, ticket_mutex
rwlock default

Affects supply-chain-trust-example-crate-000089::rwlock, supply-chain-trust-example-crate-000089::RwLock, supply-chain-trust-example-crate-000089::RwLockUpgradableGuard, supply-chain-trust-example-crate-000089::RwLockWriteGuard, supply-chain-trust-example-crate-000089::lock_api.RwLock, supply-chain-trust-example-crate-000089::lock_api.RwLockReadGuard, supply-chain-trust-example-crate-000089::lock_api.RwLockWriteGuard, supply-chain-trust-example-crate-000089::lock_api.RwLockUpgradableReadGuard

once default lazy

Affects supply-chain-trust-example-crate-000089::once, supply-chain-trust-example-crate-000089::Once

lazy default = once

Affects supply-chain-trust-example-crate-000089::lazy, supply-chain-trust-example-crate-000089::Lazy

barrier default = mutex

Affects supply-chain-trust-example-crate-000089::barrier, supply-chain-trust-example-crate-000089::Barrier

lock_api default = lock_api_crate

Affects supply-chain-trust-example-crate-000089::lock_api

portable_atomic = portable-atomic

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.

lock_api_crate lock_api

Enables lock_api

portable-atomic portable_atomic?