[package]
name = "euv"
version = "0.4.3"
readme = "README.md"
edition = "2024"
authors = ["root@ltpp.vip"]
license = "MIT"
description = """A declarative, cross-platform UI framework for Rust with virtual DOM, reactive signals, and HTML macros for WebAssembly."""
keywords = ["cross-platform"]
repository = "https://github.com/euv-dev/euv.git"
categories = ["network-programming", "web-programming"]
exclude = ["target", "Cargo.lock", "sh", ".github", "logs", "img", "**/*.log"]

[workspace]
members = ["core", "macros", "example", "cli"]
resolver = "3"

[workspace.dependencies]
euv = { path = "./", version = "0.4.3" }
euv-cli = { path = "cli", version = "0.4.3" }
euv-core = { path = "core", version = "0.4.3" }
euv-macros = { path = "macros", version = "0.4.3" }
euv-example = { path = "example", version = "0.4.3" }

log = "0.4.30"
quote = "1.0.45"
ignore = "0.4.25"
js-sys = "0.3.99"
which = "8.0.2"
anyhow = "1.0.102"
hyperlane = "21.2.4"
serde_json = "1.0.150"
proc-macro2 = "1.0.106"
wasm-bindgen = "0.2.122"
color-output = "10.0.2"
lombok-macros = "2.0.27"
wasm-bindgen-test = "0.3.72"
wasm-bindgen-futures = "0.4.72"
console_error_panic_hook = "0.1.7"
clap = { version = "4.6.1", features = ["derive"] }
serde = { version = "1.0.228", features = ["derive"] }
syn = { version = "2.0.117", features = ["full", "extra-traits"] }
notify = { version = "8.2.0", default-features = false, features = [
    "macos_fsevent",
] }
tokio = { version = "1.52.3", features = [
    "rt-multi-thread",
    "macros",
    "process",
    "fs",
    "sync",
    "time",
] }
web-sys = { version = "0.3.99", features = [
    "AnimationEvent",
    "BeforeUnloadEvent",
    "Blob",
    "Clipboard",
    "ClipboardEvent",
    "console",
    "DataTransfer",
    "Document",
    "DragEvent",
    "Element",
    "Event",
    "EventInit",
    "EventTarget",
    "File",
    "FileList",
    "FileReader",
    "FocusEvent",
    "HashChangeEvent",
    "HtmlButtonElement",
    "HtmlCollection",
    "HtmlElement",
    "HtmlFormElement",
    "HtmlHeadElement",
    "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",
] }

[dependencies]
euv-core = { workspace = true }
euv-macros = { workspace = true }

js-sys = { workspace = true }
web-sys = { workspace = true }
wasm-bindgen = { workspace = true }
lombok-macros = { workspace = true }
wasm-bindgen-futures = { workspace = true }
console_error_panic_hook = { workspace = true }

[patch.crates-io]
euv-cli = { path = "cli" }
euv-core = { path = "core" }
euv-macros = { path = "macros" }
euv-example = { path = "example" }

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

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

[profile.release.package.euv-cli]
strip = "none"
