2021-11-28 12:36:12 +00:00
|
|
|
[package]
|
|
|
|
name = "qoi-fast"
|
2022-01-02 22:15:57 +00:00
|
|
|
version = "0.2.0"
|
2022-01-03 23:57:42 +00:00
|
|
|
description = "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-01-03 11:41:53 +00:00
|
|
|
edition = "2018"
|
2021-11-28 12:36:12 +00:00
|
|
|
readme = "README.md"
|
2022-01-03 11:51:39 +00:00
|
|
|
license = "MIT/Apache-2.0"
|
2021-11-28 16:54:16 +00:00
|
|
|
repository = "https://github.com/aldanor/qoi-fast"
|
|
|
|
homepage = "https://github.com/aldanor/qoi-fast"
|
|
|
|
documentation = "https://docs.rs/qoi-fast"
|
|
|
|
categories = ["multimedia::images", "multimedia::encoding"]
|
|
|
|
keywords = ["qoi", "graphics", "image", "encoding"]
|
|
|
|
exclude = [
|
|
|
|
"assets/*",
|
|
|
|
]
|
2022-01-04 11:52:45 +00:00
|
|
|
rust-version = "1.51.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]
|
|
|
|
bytemuck = "1.7"
|
|
|
|
|
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]
|
|
|
|
name = "qoi_fast"
|
|
|
|
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
|