[package]
edition = "2024"
rust-version = "1.99"
name = "pltrs-codec"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Self-contained compression and image codecs: DEFLATE/zlib, PNG/APNG, JPEG, TIFF, GIF and WebP, and an AVIF encoder"
readme = "README.md"
keywords = [
"png",
"deflate",
"jpeg",
"webp",
"avif",
]
categories = [
"compression",
"encoding",
"multimedia::images",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Lorisk1210/plt-rs"
[package.metadata.docs.rs]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-apple-darwin",
"x86_64-pc-windows-msvc",
]
[lib]
name = "pltrs_codec"
path = "src/lib.rs"
[[test]]
name = "avif_pillow"
path = "tests/avif_pillow.rs"
[[test]]
name = "malformed"
path = "tests/malformed.rs"
[[test]]
name = "png_fixtures"
path = "tests/png_fixtures.rs"
[[test]]
name = "zlib_interop"
path = "tests/zlib_interop.rs"
[[test]]
name = "zlib_ng"
path = "tests/zlib_ng.rs"
[dependencies.pltrs-core]
version = "=0.1.0"
[lints.clippy]
cast_possible_truncation = "allow"
cast_possible_wrap = "allow"
cast_precision_loss = "allow"
cast_sign_loss = "allow"
dbg_macro = "warn"
many_single_char_names = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
print_stderr = "warn"
print_stdout = "warn"
similar_names = "allow"
todo = "warn"
unimplemented = "warn"
unwrap_used = "warn"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unreachable_pub = "warn"
unsafe_code = "deny"
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1