# 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 = "piet-web" version = "0.7.0-cairo18" authors = ["Raph Levien "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Web canvas backend for piet 2D graphics abstraction." readme = "README.md" keywords = [ "graphics", "2d", ] categories = [ "rendering::graphics-api", "wasm", ] license = "Apache-2.0 OR MIT" repository = "https://github.com/linebender/piet" [lib] name = "piet_web" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [dependencies.js-sys] version = "0.3.72" [dependencies.piet] version = "=0.7.0-cairo18" [dependencies.unicode-segmentation] version = "1.12.0" [dependencies.wasm-bindgen] version = "0.2.95" [dependencies.web-sys] version = "0.3.72" features = [ "console", "Window", "CanvasGradient", "CanvasRenderingContext2d", "CanvasWindingRule", "Document", "DomMatrix", "Element", "HtmlCanvasElement", "ImageBitmap", "ImageData", "TextMetrics", ] [dependencies.xi-unicode] version = "0.3.0" [dev-dependencies.wasm-bindgen-test] version = "0.3.45"