2021-11-28 12:36:12 +00:00
|
|
|
[package]
|
2022-01-06 00:59:32 +00:00
|
|
|
name = "qoi"
|
2022-10-16 23:51:38 +00:00
|
|
|
version = "0.4.1"
|
2022-01-06 00:59:32 +00:00
|
|
|
description = "VERY fast encoder/decoder for QOI (Quite Okay Image) format"
|
2021-11-28 12:36:12 +00:00
|
|
|
authors = ["Ivan Smirnov <rust@ivan.smirnov.ie>"]
|
2022-10-16 23:42:55 +00:00
|
|
|
edition = "2021"
|
2021-11-28 12:36:12 +00:00
|
|
|
readme = "README.md"
|
2022-01-03 11:51:39 +00:00
|
|
|
license = "MIT/Apache-2.0"
|
2022-01-06 00:59:32 +00:00
|
|
|
repository = "https://github.com/aldanor/qoi-rust"
|
|
|
|
homepage = "https://github.com/aldanor/qoi-rust"
|
|
|
|
documentation = "https://docs.rs/qoi"
|
2021-11-28 16:54:16 +00:00
|
|
|
categories = ["multimedia::images", "multimedia::encoding"]
|
|
|
|
keywords = ["qoi", "graphics", "image", "encoding"]
|
|
|
|
exclude = [
|
|
|
|
"assets/*",
|
|
|
|
]
|
2022-10-16 23:42:55 +00:00
|
|
|
rust-version = "1.61.0"
|
2021-11-28 12:36:12 +00:00
|
|
|
|
2022-01-03 12:56:03 +00:00
|
|
|
[features]
|
2022-01-03 14:14:01 +00:00
|
|
|
default = ["std"]
|
|
|
|
alloc = [] # provides access to `Vec` without enabling `std` mode
|
|
|
|
std = [] # std mode (enabled by default) - provides access to `std::io`, `Error` and `Vec`
|
2022-01-03 12:56:03 +00:00
|
|
|
reference = [] # follows reference encoder implementation precisely, but may be slightly slower
|
|
|
|
|
2021-12-30 22:44:59 +00:00
|
|
|
[dependencies]
|
2022-10-16 23:42:28 +00:00
|
|
|
bytemuck = "1.12"
|
2021-12-30 22:44:59 +00:00
|
|
|
|
2021-12-02 15:54:41 +00:00
|
|
|
[workspace]
|
2022-01-05 14:07:30 +00:00
|
|
|
members = ["libqoi", "bench"]
|
2021-12-02 15:54:41 +00:00
|
|
|
|
2021-11-28 12:36:12 +00:00
|
|
|
[dev-dependencies]
|
2021-12-29 19:41:03 +00:00
|
|
|
anyhow = "1.0"
|
|
|
|
png = "0.17"
|
|
|
|
walkdir = "2.3"
|
2022-01-03 12:56:17 +00:00
|
|
|
cfg-if = "1.0"
|
2022-01-05 14:17:42 +00:00
|
|
|
rand = "0.8"
|
|
|
|
libqoi = { path = "libqoi"}
|
2021-11-28 12:36:12 +00:00
|
|
|
|
|
|
|
[lib]
|
2022-01-06 00:59:32 +00:00
|
|
|
name = "qoi"
|
2021-11-28 12:36:12 +00:00
|
|
|
path = "src/lib.rs"
|
2022-01-03 12:54:41 +00:00
|
|
|
doctest = false
|
2022-01-03 12:13:04 +00:00
|
|
|
|
|
|
|
[profile.test]
|
|
|
|
opt-level = 3
|