# 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 = "via" version = "2.0.0-beta.6" authors = ["Zachary Golba "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An async multi-threaded web framework for people who appreciate simplicity." homepage = "https://github.com/zacharygolba/via" readme = "README.md" categories = ["web-programming::http-server"] license = "MIT OR Apache-2.0" repository = "https://github.com/zacharygolba/via" [lib] name = "via" path = "src/lib.rs" [dependencies.bytes] version = "=1.7.2" [dependencies.cookie] version = "0.18" features = ["percent-encode"] [dependencies.futures-core] version = "0.3" default-features = false [dependencies.http] version = "1" [dependencies.http-body] version = "1" [dependencies.http-body-util] version = "0.1" [dependencies.hyper] version = "1.4" features = ["server"] [dependencies.hyper-util] version = "0.1" features = ["tokio"] [dependencies.percent-encoding] version = "2.3" [dependencies.serde] version = "1" [dependencies.serde_json] version = "1" [dependencies.tokio] version = "1" features = [ "macros", "signal", ] [dependencies.tokio-rustls] version = "0.26" optional = true default-features = false [dependencies.via-router] version = "3.0.0-beta.1" [features] default = ["http1"] http1 = ["hyper/http1"] http2 = ["hyper/http2"] rustls = ["dep:tokio-rustls"]