Cargo Features

[dependencies]
palloc = { version = "0.1.3", default-features = false, features = ["allocator_api", "spin"] }
default = allocator_api, spin

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

allocator_api default

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.

spin default

Affects global::spin