2023-09-04 18:45:23 -05:00
|
|
|
[package]
|
|
|
|
name = "fimg"
|
2023-10-28 03:18:27 -05:00
|
|
|
version = "0.4.20"
|
2023-09-04 18:45:23 -05:00
|
|
|
authors = ["bend-n <bend.n@outlook.com>"]
|
|
|
|
license = "MIT"
|
|
|
|
edition = "2021"
|
|
|
|
description = "fast image operations"
|
|
|
|
repository = "https://github.com/bend-n/fimg"
|
2023-09-27 07:03:46 -05:00
|
|
|
exclude = ["tdata", "benches/", ".gitignore"]
|
2023-09-04 18:45:23 -05:00
|
|
|
|
|
|
|
[dependencies]
|
2023-10-01 16:19:15 -05:00
|
|
|
mattr = "0.0.2"
|
2023-09-04 18:45:23 -05:00
|
|
|
png = { version = "0.17", features = ["unstable"], optional = true }
|
2023-10-26 07:58:50 -05:00
|
|
|
fontdue = { version = "0.7.3", optional = true }
|
2023-10-14 22:22:38 -05:00
|
|
|
vecto = "0.1.0"
|
2023-10-26 07:58:50 -05:00
|
|
|
umath = "0.0.7"
|
2023-10-28 03:18:27 -05:00
|
|
|
fr = { version = "0.1.1", package = "fer", optional = true }
|
2023-09-04 18:45:23 -05:00
|
|
|
|
2023-09-06 22:02:44 -05:00
|
|
|
[dev-dependencies]
|
2023-10-28 03:18:27 -05:00
|
|
|
iai = { git = "https://github.com/bend-n/iai.git" }
|
2023-09-06 22:02:44 -05:00
|
|
|
|
|
|
|
[[bench]]
|
|
|
|
name = "overlays"
|
2023-09-27 07:03:46 -05:00
|
|
|
path = "benches/overlays.rs"
|
2023-09-06 22:02:44 -05:00
|
|
|
harness = false
|
|
|
|
|
2023-10-03 19:50:20 -05:00
|
|
|
[[bench]]
|
|
|
|
name = "drawing"
|
|
|
|
path = "benches/drawing.rs"
|
|
|
|
harness = false
|
|
|
|
|
2023-09-06 22:02:44 -05:00
|
|
|
[[bench]]
|
|
|
|
name = "affine_transformations"
|
2023-09-27 07:03:46 -05:00
|
|
|
path = "benches/affine_transformations.rs"
|
2023-09-06 22:02:44 -05:00
|
|
|
harness = false
|
|
|
|
|
2023-10-28 03:18:27 -05:00
|
|
|
[[bench]]
|
|
|
|
name = "scaling"
|
|
|
|
path = "benches/scaling.rs"
|
|
|
|
harness = false
|
|
|
|
|
2023-10-02 00:39:58 -05:00
|
|
|
[[bench]]
|
|
|
|
name = "tile"
|
|
|
|
path = "benches/tile.rs"
|
|
|
|
harness = false
|
|
|
|
|
2023-09-04 18:45:23 -05:00
|
|
|
[features]
|
2023-10-28 03:18:27 -05:00
|
|
|
scale = ["fr"]
|
2023-09-04 18:45:23 -05:00
|
|
|
save = ["png"]
|
2023-10-26 07:58:50 -05:00
|
|
|
text = ["fontdue"]
|
2023-10-28 03:18:27 -05:00
|
|
|
default = ["save", "scale"]
|
2023-09-04 18:45:23 -05:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
debug = 2
|
|
|
|
opt-level = 3
|
|
|
|
lto = "thin"
|
|
|
|
incremental = true
|
2023-10-27 19:32:34 -05:00
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|