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 whenever polyhorn-layout is added without default-features = false somewhere in the dependency tree.

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