Cargo Features
[dependencies]
tinywasm = { version = "0.6.0", default-features = false, features = ["std", "logging", "parser", "unsafe", "archive"] }
- default = archive, logging, parser, std
-
These default features are set whenever
tinywasm
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of optional tinywasm-parser and tinywasm-types
- logging default
-
Enables log, logging of tinywasm-types and optional tinywasm-parser
- parser default = tinywasm-parser
-
Affects
tinywasm::parser
… - unsafe
-
Enables unsafe of tinywasm-types
- archive default
-
Enables archive of tinywasm-types
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.