[dependencies.afast-macros]
version = "0.0.13"
[dependencies.backtrace]
optional = true
version = "0.3"
[dependencies.futures-util]
optional = true
version = "0.3"
[dependencies.http-body-util]
features = ["full"]
optional = true
version = "0.1"
[dependencies.hyper]
optional = true
version = "1.8"
[dependencies.hyper-util]
optional = true
version = "0.1"
[dependencies.include_dir]
optional = true
version = "0.7"
[dependencies.mime_guess]
optional = true
version = "2.0"
[dependencies.tokio]
features = ["full"]
version = "1.48"
[dependencies.tokio-tungstenite]
optional = true
version = "0.28"
[[example]]
name = "test"
path = "examples/test.rs"
[features]
code = ["afast-macros/code", "http"]
default = ["http"]
doc = ["afast-macros/doc", "code", "include_dir", "mime_guess", "js"]
http = ["http-body-util", "hyper/server", "hyper/http1", "hyper/http2", "hyper-util", "hyper-util/tokio"]
js = ["afast-macros/js", "code"]
tcp = []
trace = ["backtrace"]
ts = ["afast-macros/ts", "code"]
ws = ["http-body-util", "hyper/server", "hyper/http1", "hyper-util/tokio", "tokio-tungstenite", "futures-util"]
[lib]
name = "afast"
path = "src/lib.rs"
[package]
authors = ["ahriknow <ahriknow@ahriknow.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["asynchronous", "network-programming", "web-programming"]
description = "AFast: high-performance async Rust web framework with HTTP, WS, TCP support, automatic client generation, validation, and documentation."
documentation = "https://docs.rs/afast"
edition = "2024"
homepage = "https://github.com/ahriroot/afast"
keywords = ["framework", "async", "web", "tcp", "codegen"]
license = "MIT OR Apache-2.0"
name = "afast"
readme = "README.md"
repository = "https://github.com/ahriroot/afast"
rust-version = "1.90"
version = "0.0.13"