# 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 = "hypen-server"
version = "0.5.1"
authors = ["Hypen Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust server SDK for building Hypen applications"
readme = "README.md"
keywords = [
    "hypen",
    "ui",
    "server",
    "sdk",
    "declarative",
]
categories = [
    "gui",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/hypen-lang/hypen"

[features]
async = ["tokio"]
default = []

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

[[test]]
name = "integration"
path = "tests/integration.rs"

[[test]]
name = "managed_router"
path = "tests/managed_router.rs"

[dependencies.hypen-engine]
version = "0.5.1"

[dependencies.hypen-parser]
version = "0.5.1"

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

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

[dependencies.serde_json]
version = "1.0"

[dependencies.tokio]
version = "1"
features = ["rt"]
optional = true

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
]
