# 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 = "contrast_renderer" version = "0.1.3" authors = ["Alexander Meißner "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A web-gpu based 2D render engine" readme = "README.md" keywords = [ "2d", "graphics", "geometry", "bezier", ] license = "MIT" repository = "https://github.com/Lichtso/contrast_renderer/" resolver = "2" [package.metadata.wasm-pack.profile.release] wasm-opt = [ "-Oz", "--enable-mutable-globals", ] [lib] name = "contrast_renderer" path = "src/lib.rs" [[example]] name = "application_framework" path = "examples/application_framework.rs" [[example]] name = "showcase" path = "examples/showcase/main.rs" [dependencies.geometric_algebra] version = "0.3.0" [dependencies.ttf-parser] version = "0.14.0" optional = true [dependencies.wgpu] version = "23.0.0" [dev-dependencies.log] version = "0.4" [dev-dependencies.winit] version = "0.29" [features] default = ["text"] text = ["ttf-parser"] [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.async-executor] version = "1.0" [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies.pollster] version = "0.2" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.console_error_panic_hook] version = "0.1.7" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.console_log] version = "0.1.2" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.js-sys] version = "0.3.70" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen] version = "0.2.95" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-futures] version = "0.4.45" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.web-sys] version = "0.3.72" features = ["Performance"]