fakejpeg 0.2.0

Rust port of Alun Jones' fakejpeg library
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.87"
name = "fakejpeg"
version = "0.2.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust port of Alun Jones' fakejpeg library"
readme = "README.md"
license = "MIT"
repository = "https://git.madhouse-project.org/iocaine/fakejpeg-rs"

[features]
debug = ["winnow/debug"]
default = []
serde = [
    "dep:serde",
    "dep:bytes",
]

[lib]
name = "fakejpeg"
path = "src/lib.rs"

[[bench]]
name = "fakejpeg"
path = "benches/fakejpeg.rs"
harness = false

[dependencies.bytes]
version = "1.10.1"
features = ["serde"]
optional = true

[dependencies.rand]
version = "0.10.0"

[dependencies.serde]
version = "1.0.219"
features = ["derive"]
optional = true

[dependencies.winnow]
version = "1.0.0"
features = ["simd"]

[dev-dependencies.criterion]
version = "0.8.2"

[lints.clippy]
missing_const_for_fn = "allow"
str_to_string = "warn"
unwrap_used = "deny"

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1