[package] name = "xitca-server" version = "0.4.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 "] readme= "README.md" [features] # server implementation of quic quic = ["xitca-io/quic"] # server implementation on tokio-uring runtime. io-uring = ["tokio-uring"] [dependencies] xitca-io = { version = "0.4.0", features = ["runtime"] } xitca-service = { version = "0.2.0", features = ["alloc"] } xitca-unsafe-collection = "0.2.0" tracing = { version = "0.1.40", default-features = false } # io-uring support tokio-uring = { version = "0.5", 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"] }