webpkit-cli 0.1.0

Command-line tools for the webpkit WebP codec: libwebp-style cwebp (lossy by default, -lossless for VP8L) / dwebp and the webp brand tool.
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.96"
name = "webpkit-cli"
version = "0.1.0"
authors = ["Yasunobu Sakashita <crates.tank733@slmails.com>"]
build = false
exclude = ["tests/"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Command-line tools for the webpkit WebP codec: libwebp-style cwebp (lossy by default, -lossless for VP8L) / dwebp and the webp brand tool."
homepage = "https://github.com/P4suta/webpkit"
documentation = "https://docs.rs/webpkit-cli"
readme = "README.md"
keywords = [
    "webp",
    "cwebp",
    "dwebp",
    "cli",
    "image",
]
categories = [
    "command-line-utilities",
    "multimedia::images",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/P4suta/webpkit"

[package.metadata.docs.rs]
all-features = true

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

[[bin]]
name = "cwebp"
path = "src/bin/cwebp.rs"

[[bin]]
name = "dwebp"
path = "src/bin/dwebp.rs"

[[bin]]
name = "webp"
path = "src/bin/webp.rs"

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.png]
version = "0.18"

[dependencies.rayon]
version = "1"

[dependencies.webpkit]
version = "0.1.0"
features = ["rayon"]

[dev-dependencies.assert_cmd]
version = "2"

[dev-dependencies.insta]
version = "1"
features = [
    "yaml",
    "json",
    "redactions",
]

[dev-dependencies.predicates]
version = "3"

[dev-dependencies.tempfile]
version = "3"

[lints.clippy]
allow_attributes_without_reason = "deny"
cargo_common_metadata = "allow"
dbg_macro = "deny"
disallowed_macros = "deny"
disallowed_methods = "deny"
disallowed_types = "deny"
expect_used = "warn"
mod_module_files = "deny"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
or_fun_call = "deny"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
todo = "warn"
unimplemented = "warn"
unwrap_used = "deny"
wildcard_imports = "deny"

[lints.clippy.all]
level = "deny"
priority = -1

[lints.clippy.cargo]
level = "deny"
priority = -1

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

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

[lints.rust]
elided_lifetimes_in_paths = "deny"
missing_docs = "deny"
single_use_lifetimes = "deny"
static_mut_refs = "deny"
trivial_casts = "deny"
trivial_numeric_casts = "deny"
unreachable_pub = "deny"
unsafe_op_in_unsafe_fn = "deny"