fimg/Cargo.toml

82 lines
1.8 KiB
TOML
Raw Normal View History

2023-09-04 18:45:23 -05:00
[package]
name = "fimg"
version = "0.4.43"
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-10-30 20:34:59 -05:00
keywords = ["image", "affine", "scale", "drawing"]
categories = ["multimedia::images", "graphics"]
2023-09-04 18:45:23 -05:00
[dependencies]
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 }
2024-05-05 23:11:51 -05:00
vecto = "0.1.1"
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 }
slur = { version = "0.1.0", optional = true }
2024-05-05 23:11:51 -05:00
clipline = "0.1.2"
2023-11-04 05:42:57 -05:00
minifb = { version = "0.25.0", default-features = false, features = [
"x11",
"wayland",
], optional = true }
2024-01-26 22:55:09 -06:00
wgpu = { version = "0.19.1", default-features = false, optional = true }
2024-05-05 23:11:51 -05:00
atools = "0.1.4"
2024-02-19 22:55:03 -06:00
qwant = { version = "1.0.0", optional = true }
2024-05-05 23:11:51 -05:00
libc = "0.2.154"
2023-09-04 18:45:23 -05:00
2024-03-11 20:47:48 -05:00
[target.'cfg(windows)'.dependencies]
windows = { version = "0.53.0", features = [
"Win32_System_Console",
], optional = true }
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
[[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"]
blur = ["slur"]
2024-03-11 20:47:48 -05:00
term = ["qwant", "save", "scale", "windows"]
2023-11-08 18:28:37 -06:00
real-show = ["minifb", "text"]
2024-03-12 23:18:39 -05:00
default = ["save", "scale", "term"]
2024-01-26 22:55:09 -06:00
wgpu-convert = ["dep:wgpu"]
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