forked from image-rs/image-gif
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
44 lines (38 loc) · 1.09 KB
/
Cargo.toml
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
[package]
name = "gif"
license = "MIT OR Apache-2.0"
version = "0.13.1"
description = "GIF de- and encoder"
authors = ["The image-rs Developers"]
readme = "README.md"
homepage = "https://github.com/image-rs/image-gif"
repository = "https://github.com/image-rs/image-gif"
documentation = "https://docs.rs/gif"
edition = "2021"
include = ["src/**", "LICENSE-*", "README.md", "benches/*.rs"]
[lib]
bench = false
[dependencies]
weezl = "0.1.8"
color_quant = { version = "1.1", optional = true }
[dev-dependencies]
glob = "0.3"
criterion = "0.5.1"
png = "0.17.10"
rayon = "1.8.0" # for parallel reencoding example
[features]
default = ["raii_no_panic", "std", "color_quant"]
# The `Encoder` finishes writing in `Drop`, and if the write fails, it either ignores the error (`raii_no_panic`) or panics.
# Use `Encoder::into_inner` to avoid the issue entirely
raii_no_panic = []
color_quant = ["dep:color_quant"]
# Reservation for a feature turning off std
std = []
[[bench]]
name = "decode"
harness = false
required-features = ["std"]
[[bench]]
name = "rgb_frame"
harness = false
required-features = ["std", "color_quant"]