# 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 = "2021"
name = "dioxus-devtools"
version = "0.7.8"
authors = [
    "Jonathan Kelley",
    "Evan Almloff",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Hot reloading utilities for Dioxus"
homepage = "https://dioxuslabs.com/learn/0.4/migration/hot_reload"
readme = false
keywords = [
    "dom",
    "ui",
    "gui",
    "react",
    "hot-reloading",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"

[package.metadata.docs.rs]
cargo-args = [
    "-Zunstable-options",
    "-Zrustdoc-scrape-examples",
]

[features]
default = []
serve = [
    "dep:futures-util",
    "dep:futures-channel",
]

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

[dependencies.dioxus-cli-config]
version = "0.7.8"

[dependencies.dioxus-core]
version = "0.7.8"
features = ["serialize"]

[dependencies.dioxus-devtools-types]
version = "0.7.8"

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

[dependencies.futures-channel]
version = "0.3.32"
optional = true

[dependencies.futures-util]
version = "0.3.32"
features = [
    "sink",
    "async-await-macro",
]
optional = true
default-features = false

[dependencies.serde]
version = "1.0.225"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.140"

[dependencies.subsecond]
version = "0.7.8"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tracing]
version = "0.1.41"

[dev-dependencies.serde_json]
version = "1.0.140"

[dev-dependencies.tokio]
version = "1.48"
features = ["full"]

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tungstenite]
version = "0.28.0"
