# 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 = "hyle-dioxus-native"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native (non-WASM) Dioxus components for hyle — table, form, and filter UI primitives."
documentation = "https://docs.rs/hyle-dioxus-native"
readme = "README.md"
keywords = [
    "dioxus",
    "blueprint",
    "ui",
    "native",
    "table",
]
categories = [
    "gui",
    "web-programming",
]
license = "BSD-2-Clause"
repository = "https://github.com/tty-pt/hyle"
resolver = "2"

[lib]
name = "hyle_dioxus_native"
path = "src/lib.rs"

[dependencies.dioxus]
version = "=0.7.7"
features = [
    "launch",
    "html",
    "macro",
    "signals",
]
default-features = false

[dependencies.dioxus-signals]
version = "=0.7.7"

[dependencies.hyle]
version = "0.1"

[dependencies.hyle-dioxus]
version = "0.1"

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.serde_json]
version = "1"

[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2"
features = ["enable-interning"]

[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
version = "0.3"
features = [
    "HtmlFormElement",
    "EventTarget",
    "Event",
    "AddEventListenerOptions",
]
