# 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 = "httpz" version = "0.0.6" authors = ["Oscar Beaumont "] description = "Code once, support every Rust webserver!" homepage = "https://github.com/oscartbeaumont/httpz" documentation = "https://docs.rs/httpz" readme = "README.md" keywords = [ "httpz", "async", "web", "http", "websockets", ] categories = [ "network-programming", "web-programming", "web-programming::http-server", "asynchronous", "development-tools", ] license = "MIT" repository = "https://github.com/oscartbeaumont/httpz" [[example]] name = "basic" required-features = ["axum"] [[example]] name = "actix-web" required-features = ["actix-web"] [dependencies.actix-web] version = "4.3.1" features = [] optional = true [dependencies.async-tungstenite] version = "0.23.0" optional = true [dependencies.axum] version = "0.6.19" features = [] optional = true [dependencies.base64] version = "0.21.2" optional = true [dependencies.cookie] version = "0.17.0" features = ["percent-encode"] optional = true [dependencies.form_urlencoded] version = "1.2.0" [dependencies.futures] version = "0.3.28" [dependencies.http] version = "0.2.9" features = [] [dependencies.hyper] version = "0.14.27" [dependencies.lambda_http] version = "0.8.1" features = [] optional = true [dependencies.percent-encoding] version = "2.3.0" features = [] optional = true [dependencies.poem] version = "1.3.56" features = [] optional = true [dependencies.rocket] version = "0.5.0-rc.3" features = [] optional = true [dependencies.sha1] version = "0.10.5" optional = true [dependencies.tauri] version = "1.4.1" features = ["linux-protocol-headers"] optional = true [dependencies.thiserror] version = "1.0.43" [dependencies.tokio] version = "1.29.1" features = [] optional = true default-features = false [dependencies.tower] version = "0.4.13" features = [] optional = true [dependencies.vercel_runtime] version = "1.0.2" optional = true [dependencies.warp] version = "0.3.5" features = [] optional = true [dependencies.worker] version = "0.0.17" features = [] optional = true [dev-dependencies.actix-web] version = "4.3.1" [dev-dependencies.axum] version = "0.6.19" features = [] [dev-dependencies.hyper] version = "0.14.27" features = [] [dev-dependencies.tokio] version = "1.29.1" features = [ "macros", "rt-multi-thread", "fs", ] [dev-dependencies.tower] version = "0.4.13" features = [] [features] actix-web = ["dep:actix-web"] async-tungstenite = [] axum = ["dep:axum"] cookies = ["dep:cookie"] default = [] hyper = [] lambda = [ "dep:lambda_http", "dep:tower", ] poem = ["dep:poem"] rocket = ["dep:rocket"] tauri = [ "dep:tauri", "dep:percent-encoding", "dep:tokio", ] tokio-ws = [ "dep:async-tungstenite", "async-tungstenite/tokio-runtime", "dep:sha1", "dep:base64", "dep:tokio", "ws", ] vercel = ["dep:vercel_runtime"] warp = ["dep:warp"] workers = ["dep:worker"] ws = []