[package] name = "edom" version = "0.1.0" edition = "2021" license = "MIT OR Apache-2.0" description = "An immediate mode web frontend library similar to EGUI" readme = "README.md" homepage = "https://github.com/adamritter/edom" repository = "https://github.com/adamritter/edom" keywords = ["web", "wasm"] categories = ["wasm"] [lib] crate-type = ["cdylib", "rlib"] [dependencies] wasm-bindgen = "0.2.83" js-sys = "0.3.60" console_error_panic_hook = "0.1.7" getrandom = {version = "0.2.8", features = ["js"]} rand = {version = "0.8.5", features = ["small_rng"]} smallstr = {version = "0.3.0"} embed-doc-image = "0.1.4" [dependencies.web-sys] version = "0.3.53" features = [ 'Document', 'DomTokenList', 'Element', 'Event', 'EventTarget', 'HtmlElement', 'Node', 'NodeList', 'Window', 'Text', 'console', 'HtmlInputElement', ] [profile.release] lto = true # panic = "abort" [dev-dependencies] criterion = "0.4" [[bench]] name = "bench" harness = false [features] doc-images = [] [package.metadata.docs.rs] # docs.rs uses a nightly compiler, so by instructing it to use our `doc-images` feature we # ensure that it will render any images that we may have in inner attribute documentation. features = ["doc-images"]