Cargo Features

[dependencies]
memsec = { version = "0.7.0", default-features = false, features = ["alloc", "nightly", "use_os", "alloc_ext"] }
default = alloc, use_os

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

alloc default alloc_ext? = getrandom, use_os
nightly
use_os default alloc = libc, windows-sys
alloc_ext = alloc

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.

getrandom alloc
libc unix use_os
windows-sys win use_os

Enables windows-sys ^0.45