fast image operations
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
[package]
name = "fimg"
version = "0.4.24"
authors = ["bend-n <[email protected]>"]
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 }
clipline = "0.1.1"
minifb = { version = "0.25.0", default-features = false, features = [
    "x11",
    "wayland",
], 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"]
real-show = ["minifb", "text"]
default = ["save", "scale"]

[profile.release]
debug = 2
opt-level = 3
lto = "thin"
incremental = true

[package.metadata.docs.rs]
all-features = true