aspect-ratio 0.0.2

Scale a 2D rect to fit or cover one or more bounds, optionally preserving aspect-ratio
Documentation
[dependencies.safe-arithmetic]
version = "0"

[dependencies.strum]
features = ["derive"]
version = "0"

[dev-dependencies.color-eyre]
version = "0"

[dev-dependencies.similar-asserts]
version = "1"

[features]
default = []

[lib]
name = "aspect_ratio"
path = "src/lib.rs"

[package]
authors = ["romnn <contact@romnn.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["mathematics", "gui", "graphics", "multimedia::images", "rendering"]
description = "Scale a 2D rect to fit or cover one or more bounds, optionally preserving aspect-ratio"
documentation = "https://docs.rs/aspect-ratio"
edition = "2024"
exclude = [".github", ".typos.toml", ".ignore", ".bumpversion.toml", "tests/", "taskfile.yaml"]
homepage = "https://github.com/romnn/aspect-ratio"
keywords = ["aspect-ratio", "images", "graphics", "scaling"]
license = "MIT"
name = "aspect-ratio"
publish = true
readme = "README.md"
repository = "https://github.com/romnn/aspect-ratio"
version = "0.0.2"

[package.metadata.cargo-feature-combinations]
exclude_features = ["default"]

[package.metadata.docs.rs]
all-features = true
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]