# 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 believe there's an error in this file please file an # issue against the rust-lang/cargo repository. If you're # editing this file be aware that the upstream Cargo.toml # will likely look very different (and much more reasonable) [package] edition = "2018" name = "pigmnts" version = "0.7.0" authors = ["Akash Hamirwasia"] description = "Generate a color palette from an image using K-means++" readme = "README.md" license = "MIT" repository = "https://github.com/blenderskool/pigmnts/tree/master/lib" [profile.release] opt-level = "z" lto = true [lib] crate-type = ["cdylib", "rlib"] [dependencies.crossbeam-utils] version = "0.8" [dependencies.rand] version = "0.7.2" features = ["wasm-bindgen"] [dependencies.serde] version = "^1.0.59" [dependencies.serde_derive] version = "^1.0.59" [dependencies.wasm-bindgen] version = "0.2.50" features = ["serde-serialize"] [dependencies.web-sys] version = "0.3.30" features = ["HtmlCanvasElement", "ImageData", "CanvasRenderingContext2d"]