Cargo Features

[dependencies]
maybe-sync = { version = "0.1.1", default-features = false, features = ["alloc", "sync", "unstable-doc"] }
default = alloc

The alloc feature is set by default whenever maybe-sync is added without default-features = false somewhere in the dependency tree.

alloc default
sync = parking_lot
unstable-doc

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.

parking_lot sync?

Enables parking_lot ^0.10.2