-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
51 lines (44 loc) · 1.16 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
45
46
47
48
49
50
51
[package]
name = "avif-decode"
version = "1.0.1"
authors = ["Kornel <[email protected]>"]
categories = ["multimedia::images"]
description = "Convert AVIF images to PNG or decompressed pixel data"
homepage = "https://lib.rs/avif-decode"
keywords = ["av1", "libaom", "decoder", "heif"]
license = "BSD-3-Clause"
readme = "README.md"
repository = "https://github.com/kornelski/avif-decode"
edition = "2021"
rust-version = "1.76"
[[bin]]
name = "avif_decode"
path = "src/main.rs"
required-features = ["binary"]
[dependencies]
aom-decode = "0.2.10"
rgb = "0.8.45"
yuv = "0.1.7"
avif-parse = "1.0.0"
quick-error = "2.0.1"
imgref = "1.10.1"
owning_ref = "0.4.1"
lodepng = { version = "3.10.3", optional = true }
[features]
default = ["binary"]
binary = ["dep:lodepng"]
# Use faster zlib (in C) when compressing PNG
cfzlib = ["lodepng?/cfzlib"]
# Use faster zlib (in C) when compressing PNG
ngzlib = ["lodepng?/ngzlib"]
[profile.dev]
opt-level = 1
debug = "line-tables-only"
[profile.release]
opt-level = 3
lto = true
[badges]
maintenance = { status = "passively-maintained" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
rustdoc-args = ["--generate-link-to-definition"]