1[package]
2name = "qoi"
3version = "0.4.1"
4description = "VERY fast encoder/decoder for QOI (Quite Okay Image) format"
5authors = ["Ivan Smirnov <rust@ivan.smirnov.ie>"]
6edition = "2021"
7readme = "README.md"
8license = "MIT/Apache-2.0"
9repository = "https://github.com/aldanor/qoi-rust"
10homepage = "https://github.com/aldanor/qoi-rust"
11documentation = "https://docs.rs/qoi"
12categories = ["multimedia::images", "multimedia::encoding"]
13keywords = ["qoi", "graphics", "image", "encoding"]
14exclude = [
15 "assets/*",
16]
17rust-version = "1.61.0"
18
19[features]
20default = ["std"]
21alloc = [] # provides access to `Vec` without enabling `std` mode
22std = [] # std mode (enabled by default) - provides access to `std::io`, `Error` and `Vec`
23reference = [] # follows reference encoder implementation precisely, but may be slightly slower
24
25[dependencies]
26bytemuck = "1.12"
27
28[workspace]
29members = ["libqoi", "bench"]
30
31[dev-dependencies]
32anyhow = "1.0"
33png = "0.17"
34walkdir = "2.3"
35cfg-if = "1.0"
36rand = "0.8"
37libqoi = { path = "libqoi"}
38
39[lib]
40name = "qoi"
41path = "src/lib.rs"
42doctest = false
43
44[profile.test]
45opt-level = 3
46