Cargo Features
[dependencies]
medea-jason = { version = "0.4.0", default-features = false, features = ["dart-codegen", "mockable", "console_error_panic_hook", "wee_alloc"] }
- default = console_error_panic_hook, wee_alloc
-
These default features are set whenever
medea-jason
is added without
somewhere in the dependency tree.default-features = false - dart-codegen
-
Enables dart-codegen of medea-macro
- mockable = mockall
-
Affects
callback::tests
,dart_future::tests
…
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.
- mockall mockable?
-
Enables mockall ^0.11
- console_error_panic_hook wasm default
- wee_alloc wasm default