# 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" name = "jpeg2k" version = "0.9.1" authors = ["Robert G. Jakabosky "] exclude = [ "examples/*", "samples/*", ] description = "JPEG 2000 image loader." homepage = "https://github.com/Neopallium/jpeg2k" readme = "README.md" keywords = [ "j2k", "jp2", "jpeg2000", "image", ] license = "MIT/Apache-2.0" repository = "https://github.com/Neopallium/jpeg2k" [[bench]] name = "components" harness = false [dependencies.anyhow] version = "1.0" [dependencies.image] version = "0.25" features = [ "jpeg", "png", ] optional = true default_features = false [dependencies.log] version = "0.4" [dependencies.openjp2] version = "0.5" features = ["std"] optional = true default-features = false [dependencies.openjpeg-sys] version = ">=1.0.8" optional = true default-features = false [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.thiserror] version = "1.0.30" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.dotenv] version = "0.15" [dev-dependencies.env_logger] version = "0.9" [dev-dependencies.rayon] version = "1.7" [features] default = [ "image", "threads", "file-io", "openjpeg-sys", ] file-io = ["openjp2?/file-io"] strict-mode = [] threads = ["openjpeg-sys?/threads"]