[package]
edition = "2024"
name = "torin"
version = "0.4.0"
authors = ["Marc EspĂn <mespinsanz@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "UI layout Library designed for Freya."
homepage = "https://freyaui.dev/"
readme = "README.md"
keywords = [
"gui",
"ui",
"desktop",
"skia",
"freya",
]
categories = [
"gui",
"caching",
]
license = "MIT"
repository = "https://github.com/marc2332/freya"
[features]
serde = [
"dep:serde",
"euclid/serde",
]
[lib]
name = "torin"
path = "src/lib.rs"
bench = false
[[example]]
name = "demo"
path = "examples/demo.rs"
[[test]]
name = "alignment"
path = "tests/alignment.rs"
[[test]]
name = "flex"
path = "tests/flex.rs"
[[test]]
name = "margin"
path = "tests/margin.rs"
[[test]]
name = "offset"
path = "tests/offset.rs"
[[test]]
name = "other"
path = "tests/other.rs"
[[test]]
name = "padding"
path = "tests/padding.rs"
[[test]]
name = "position"
path = "tests/position.rs"
[[test]]
name = "root_candidate_resolution"
path = "tests/root_candidate_resolution.rs"
[[test]]
name = "size"
path = "tests/size.rs"
[[test]]
name = "spacing"
path = "tests/spacing.rs"
[[test]]
name = "wrap"
path = "tests/wrap.rs"
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
[dependencies.euclid]
version = "0.22.9"
[dependencies.itertools]
version = "0.14.0"
[dependencies.rustc-hash]
version = "2.1.1"
[dependencies.serde]
version = "1.0"
optional = true
[dependencies.tracing]
version = "0.1.41"
[dev-dependencies.criterion]
version = "0.5.1"
[lints.clippy]
redundant_clone = "warn"