# 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 = "photon-rs" version = "0.3.2" authors = ["Silvia O'Dwyer "] exclude = [ "pkg/*", "examples/input_images/*", ] description = "High-performance image processing library for native use and the web" homepage = "https://silvia-odwyer.github.io/photon/" readme = "./README.md" categories = [ "wasm", "multimedia", ] license = "Apache-2.0" repository = "https://github.com/silvia-odwyer/photon" [package.metadata.wasm-pack.profile.release] wasm-opt = [ "-O3", "--enable-mutable-globals", ] [lib] crate-type = [ "cdylib", "rlib", ] [[bench]] name = "photon_benchmark" harness = false [dependencies.base64] version = "0.13.0" [dependencies.console_error_panic_hook] version = "0.1.5" optional = true [dependencies.image] version = "0.23.12" features = [ "gif", "jpeg", "ico", "png", "pnm", "tga", "tiff", "webp", "bmp", "hdr", "dxt", "dds", "farbfeld", ] default-features = false [dependencies.imageproc] version = "0.22.0" default-features = false [dependencies.js-sys] version = "0.3.45" [dependencies.node-sys] version = "0.4.2" [dependencies.palette] version = "0.6.1" [dependencies.perlin2d] version = "0.2.6" [dependencies.rand] version = "0.7.2" [dependencies.rusttype] version = "0.9.2" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.thiserror] version = "1.0" [dependencies.time] version = "0.2.23" [dependencies.wasm-bindgen] version = "=0.2.78" [dependencies.web-sys] version = "0.3" features = [ "Document", "Element", "HtmlElement", "Node", "Window", "CanvasRenderingContext2d", "ImageData", "HtmlCanvasElement", "HtmlImageElement", "console", "CssStyleDeclaration", "EventTarget", ] [dependencies.wee_alloc] version = "0.4.2" optional = true [dev-dependencies.criterion] version = "0.3" [dev-dependencies.time] version = "0.2.1" [features] default = ["console_error_panic_hook"]