Cargo Features
[dependencies]
polyhorn-layout = { version = "0.2.0", default-features = false, features = ["impl-yoga", "impl-stretch"] }
- default = impl-yoga
-
The
impl-yoga
feature is set by default wheneverpolyhorn-layout
is added without
somewhere in the dependency tree.default-features = false - impl-yoga default = yoga
-
Affects
algorithm::yoga
… - impl-stretch = stretch
-
Affects
algorithm::stretch
…
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.
- stretch impl-stretch?
- yoga impl-yoga
-
Enables polyhorn-yoga