# 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 = "2024"
name = "euv"
version = "0.5.31"
authors = ["root@ltpp.vip"]
build = false
exclude = [
    "target",
    "Cargo.lock",
    "sh",
    ".github",
    "logs",
    "img",
    "**/*.log",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A declarative, cross-platform UI framework for Rust with virtual DOM, reactive signals, and HTML macros for WebAssembly."
readme = "README.md"
keywords = ["cross-platform"]
categories = [
    "network-programming",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/euv-dev/euv.git"

[package.metadata.wasm-pack.profile.dev]
wasm-opt = false

[package.metadata.wasm-pack.profile.release]
wasm-opt = [
    "-Oz",
    "--enable-mutable-globals",
    "--enable-bulk-memory",
    "--enable-nontrapping-float-to-int",
]

[lib]
name = "euv"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.console_error_panic_hook]
version = "0.1.7"

[dependencies.euv-core]
version = "0.5.31"

[dependencies.euv-macros]
version = "0.5.31"

[dependencies.js-sys]
version = "0.3.99"

[dependencies.lombok-macros]
version = "2.0.28"

[dependencies.wasm-bindgen]
version = "0.2.122"

[dependencies.wasm-bindgen-futures]
version = "0.4.72"

[dependencies.web-sys]
version = "0.3.99"
features = [
    "AnimationEvent",
    "BeforeUnloadEvent",
    "Blob",
    "Clipboard",
    "ClipboardEvent",
    "console",
    "CssStyleDeclaration",
    "DataTransfer",
    "Document",
    "DocumentFragment",
    "DomRect",
    "DragEvent",
    "Element",
    "Event",
    "EventInit",
    "EventTarget",
    "File",
    "FileList",
    "FileReader",
    "FocusEvent",
    "HashChangeEvent",
    "History",
    "HtmlButtonElement",
    "HtmlCollection",
    "HtmlElement",
    "HtmlFormElement",
    "HtmlHeadElement",
    "HtmlImageElement",
    "HtmlInputElement",
    "HtmlMediaElement",
    "HtmlOptionElement",
    "HtmlSelectElement",
    "HtmlStyleElement",
    "HtmlTextAreaElement",
    "InputEvent",
    "IntersectionObserver",
    "IntersectionObserverEntry",
    "IntersectionObserverInit",
    "KeyboardEvent",
    "Location",
    "MouseEvent",
    "Navigator",
    "Node",
    "NodeList",
    "Response",
    "Storage",
    "SubmitEvent",
    "Text",
    "TouchEvent",
    "TouchList",
    "Touch",
    "TransitionEvent",
    "WheelEvent",
    "Window",
]

[profile.dev]
opt-level = 0
lto = false
codegen-units = 16
debug = 0
panic = "unwind"
incremental = true
strip = "none"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
debug = 0
panic = "unwind"
incremental = false
strip = true
