Cargo Features

[dependencies]
duk = { version = "0.3.0", default-features = false, features = ["debug", "logging", "spam", "trace"] }
default = debug, logging

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

debug default

Enables debug of duk-sys

logging default = log
spam

Enables spam of duk-sys

trace

Enables trace of duk-sys

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.

log logging