Cargo Features

[dependencies]
shaku = { version = "0.6.2", default-features = false, features = ["thread_safe", "derive"] }
default = derive, thread_safe

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

thread_safe default

Affects component::ComponentFn, provider::ProviderFn

derive default = shaku_derive

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.

shaku_derive derive