# 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-liveview"
version = "0.7.7"
authors = [
    "Jonathan Kelley",
    "Evan Almloff",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Build server-side apps with Dioxus"
homepage = "https://dioxuslabs.com/learn/0.7/getting_started"
readme = "README.md"
keywords = [
    "dom",
    "ui",
    "gui",
    "react",
    "liveview",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/DioxusLabs/dioxus/"

[features]
axum = ["dep:axum"]
default = [
    "devtools",
    "multi-thread",
]
devtools = ["dep:dioxus-devtools"]
multi-thread = ["tokio/rt-multi-thread"]

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

[[example]]
name = "axum"
path = "examples/axum.rs"
doc-scrape-examples = true
required-features = ["axum"]

[[example]]
name = "axum_stress"
path = "examples/axum_stress.rs"
doc-scrape-examples = true
required-features = ["axum"]

[dependencies.axum]
version = "0.8.4"
features = ["ws"]
optional = true
default-features = true

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

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

[dependencies.dioxus-devtools]
version = "0.7.7"
optional = true

[dependencies.dioxus-document]
version = "0.7.7"
default-features = false

[dependencies.dioxus-history]
version = "0.7.7"
default-features = false

[dependencies.dioxus-html]
version = "0.7.7"
features = ["serialize"]
default-features = false

[dependencies.dioxus-interpreter-js]
version = "0.7.7"
features = ["binary-protocol"]

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

[dependencies.futures-util]
version = "0.3.32"
features = ["sink"]
default-features = false

[dependencies.generational-box]
version = "0.7.7"

[dependencies.rustc-hash]
version = "2.1.1"

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

[dependencies.serde_json]
version = "1.0.140"

[dependencies.slab]
version = "0.4.10"

[dependencies.thiserror]
version = "2.0.12"

[dependencies.tokio]
version = "1.48"
features = [
    "time",
    "macros",
]

[dependencies.tokio-stream]
version = "0.1.17"
features = ["net"]

[dependencies.tokio-util]
version = "0.7.15"
features = ["rt"]

[dependencies.tracing]
version = "0.1.41"
