Cargo Features
[dependencies]
simplicity-lang = { version = "0.3.0", default-features = false, features = ["elements", "serde", "test-utils"] }
- default = elements
-
The
elements
feature is set by default wheneversimplicity-lang
is added without
somewhere in the dependency tree.default-features = false - elements default serde? = bitcoin
-
Enables elements
Affects
init::elements
,jet::elements
,simplicity-lang::policy
,simplicity-lang::leaf_version
… - serde
- test-utils
-
Enables test-utils of simplicity-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.