fimg/Cargo.toml
2023-11-01 09:09:20 +07:00

65 lines
1.3 KiB
TOML

[package]
name = "fimg"
version = "0.4.23"
authors = ["bend-n <bend.n@outlook.com>"]
license = "MIT"
edition = "2021"
description = "fast image operations"
repository = "https://github.com/bend-n/fimg"
exclude = ["tdata", "benches/", ".gitignore"]
keywords = ["image", "affine", "scale", "drawing"]
categories = ["multimedia::images", "graphics"]
[dependencies]
mattr = "0.0.2"
png = { version = "0.17", features = ["unstable"], optional = true }
fontdue = { version = "0.7.3", optional = true }
vecto = "0.1.0"
umath = "0.0.7"
fr = { version = "0.1.1", package = "fer", optional = true }
stackblur-iter = { version = "0.2.0", features = ["simd"], optional = true }
[dev-dependencies]
iai = { git = "https://github.com/bend-n/iai.git" }
[[bench]]
name = "overlays"
path = "benches/overlays.rs"
harness = false
[[bench]]
name = "drawing"
path = "benches/drawing.rs"
harness = false
[[bench]]
name = "affine_transformations"
path = "benches/affine_transformations.rs"
harness = false
[[bench]]
name = "scaling"
path = "benches/scaling.rs"
harness = false
[[bench]]
name = "tile"
path = "benches/tile.rs"
harness = false
[features]
scale = ["fr"]
save = ["png"]
text = ["fontdue"]
blur = ["stackblur-iter"]
default = ["save", "scale"]
[profile.release]
debug = 2
opt-level = 3
lto = "thin"
incremental = true
[package.metadata.docs.rs]
all-features = true