# 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 = "2021" rust-version = "1.74.0" name = "jpegxl-rs" version = "0.11.1+libjxl-0.11.0" authors = ["Inflation "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Safe Rust wrapper for JPEG XL reference implementation" readme = "README.md" keywords = [ "jpeg-xl", "jxl", ] categories = [ "api-bindings", "encoding", "multimedia::images", ] license = "GPL-3.0-or-later" repository = "https://github.com/inflation/jpegxl-rs" [package.metadata.docs.rs] features = ["docs"] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "jpegxl_rs" path = "src/lib.rs" bench = false [[bench]] name = "decode" path = "benches/decode.rs" harness = false required-features = ["bench"] [[bench]] name = "encode" path = "benches/encode.rs" harness = false required-features = ["bench"] [dependencies.byteorder] version = "1.5.0" [dependencies.derive_builder] version = "0.20.1" [dependencies.half] version = "2.4.1" [dependencies.image] version = "0.25.2" optional = true default-features = false [dependencies.jpegxl-sys] version = "0.11.1" default-features = false [dependencies.thiserror] version = "1.0.64" [dev-dependencies.image] version = "0.25.2" features = [ "jpeg", "png", ] default-features = false [dev-dependencies.lcms2] version = "6.1.0" [dev-dependencies.pretty_assertions] version = "1.4.1" [dev-dependencies.testresult] version = "0.4.1" [features] bench = [] default = ["image"] docs = ["jpegxl-sys/docs"] image = ["dep:image"] vendored = ["jpegxl-sys/vendored"] [target.'cfg(not(target_family = "wasm"))'.dev-dependencies.criterion] version = "0.5.1" [lints.clippy] pedantic = "warn" [lints.rust] missing_docs = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0 check-cfg = ["cfg(coverage_nightly)"]