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