[package]
name = "xitca-server"
version = "0.3.0"
edition = "2021"
license = "Apache-2.0"
description = "http server for xitca"
repository = "https://github.com/HFQR/xitca-web"
keywords = ["xitca", "xitca-web"]
authors = ["fakeshadow <everestshadow@gmail.com>"]
readme= "README.md"
[features]
quic = ["xitca-io/quic"]
io-uring = ["tokio-uring"]
[dependencies]
xitca-io = { version = "0.3.0", features = ["runtime"] }
xitca-service = { version = "0.1", features = ["alloc"] }
xitca-unsafe-collection = "0.1"
tracing = { version = "0.1.40", default-features = false }
tokio-uring = { version = "0.4", optional = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
socket2 = { version = "0.5.1" }
tokio = { version = "1.30", features = ["rt-multi-thread", "signal", "sync", "time"] }
[target.'cfg(target_family = "wasm")'.dependencies]
tokio = { version = "1.30", features = ["rt", "sync", "time"] }
[dev-dependencies]
bytes = "1.4"
tokio = { version = "1.30", features = ["io-util", "macros"] }