[package] name = "polyhorn-ui" version = "0.4.0" authors = ["Tim "] edition = "2018" license = "MIT" description = "Shared API contract for multi-platform Polyhorn UI." repository = "https://github.com/polyhorn/polyhorn/tree/crates/polyhorn-ui" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [lib] [dependencies] bytes = "0.5.6" derivative = "2.1.1" num-traits = "0.2.12" palette = { version = "0.5.0", default-features = false, features = ["std"] } paste = "1.0.1" proc-macro2 = "1.0.24" quote = "1.0.7" strum = "0.19.2" strum_macros = "0.19.2" stretch = { version = "0.3.2", optional = true } yoga = { package = "polyhorn-yoga", version = "0.3.3", optional = true } usvg = { version = "0.11.0", default-features = false, optional = true } casco = { version = "0.4.0", path = "../casco" } polyhorn-core = { version = "0.4.0", path = "../polyhorn-core" } [features] default = ["layout-yoga"] macros = ["usvg"] layout-yoga = ["yoga"] layout-stretch = ["stretch"] [dev-dependencies] casco = { path = "../casco", version = "0.4.0", features = ["lexer"] }