# 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 = "2018" name = "pconvert-rust" version = "0.5.1" authors = ["Platforme "] build = "build.rs" description = "Rust version of P(NG)Convert, a simple PNG conversion tool." homepage = "https://github.com/ripe-tech/pconvert-rust" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/ripe-tech/pconvert-rust" [package.metadata.docs.rs] all-features = true [profile.dev] opt-level = 3 [profile.release] opt-level = 3 lto = true debug = false [lib] name = "pconvert_rust" crate-type = [ "rlib", "cdylib", ] [dependencies.image] version = "0.24" features = ["png"] default-features = false [dependencies.js-sys] version = "0.3" optional = true [dependencies.pyo3] version = "0.16" features = ["extension-module"] optional = true [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.serde-wasm-bindgen] version = "0.4" optional = true [dependencies.serde_json] version = "1.0" optional = true [dependencies.wasm-bindgen] version = "0.2" features = ["serde-serialize"] optional = true [dependencies.wasm-bindgen-futures] version = "0.4" optional = true [dependencies.web-sys] version = "0.3" features = [ "File", "ImageData", ] optional = true [build-dependencies.chrono] version = "0.4" [build-dependencies.image] version = "0.24" features = ["png"] default-features = false [build-dependencies.regex] version = "1" [features] python-extension = ["pyo3"] readonly = [] wasm-extension = [ "js-sys", "serde", "serde_json", "serde-wasm-bindgen", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", ] [target."cfg(not(target_arch = \"wasm32\"))".dependencies.mtpng] version = "0.3"