[package]
edition = "2021"
rust-version = "1.85"
name = "kasuari"
version = "0.4.13"
authors = [
"Dylan Ede <dylanede@googlemail.com>",
"The Ratatui Developers",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
A rust layout solver for GUIs, based on the Cassowary algorithm.
A fork of the unmaintained cassowary-rs crate with improvments and bug fixes.
Kasuari is the indonesian name for the cassowary bird.
"""
documentation = "https://docs.rs/kasuari"
readme = "README.md"
keywords = [
"cassowary",
"layout",
"tui",
"solver",
]
categories = [
"algorithms",
"command-line-interface",
"graphics",
"gui",
"rendering",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ratatui/kasuari"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["std"]
document-features = ["dep:document-features"]
portable-atomic = [
"dep:portable-atomic",
"dep:portable-atomic-util",
]
std = [
"thiserror/std",
"portable-atomic?/std",
]
[lib]
name = "kasuari"
path = "src/lib.rs"
[[test]]
name = "quadrilateral"
path = "tests/quadrilateral.rs"
[[test]]
name = "removal"
path = "tests/removal.rs"
[[test]]
name = "traits"
path = "tests/traits.rs"
[dependencies.document-features]
version = "0.2"
optional = true
[dependencies.hashbrown]
version = "0.17"
[dependencies.portable-atomic]
version = "1.13"
features = ["require-cas"]
optional = true
default-features = false
[dependencies.portable-atomic-util]
version = "0.2.7"
features = ["alloc"]
optional = true
[dependencies.thiserror]
version = "2.0"
default-features = false
[dev-dependencies.rstest]
version = "0.27"