# 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" rust-version = "1.81" name = "hypers_core" version = "0.14.1" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A simple rust web framework based on hyper 1.0" homepage = "https://github.com/lo-ferris/hypers" documentation = "https://docs.rs/hypers" readme = "README.md" keywords = [ "hyper", "web", "framework", "springboot", "gin", ] categories = [ "web-programming::http-server", "web-programming::websocket", "network-programming", "asynchronous", ] license = "Apache-2.0" repository = "https://github.com/lo-ferris/hypers" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "hypers_core" path = "src/lib.rs" [dependencies.async-trait] version = "=0.1.82" [dependencies.base64] version = "=0.22.1" optional = true [dependencies.brotli] version = "=6.0.0" features = ["default"] optional = true [dependencies.bytes] version = "=1.7.1" features = ["std"] optional = true [dependencies.ciborium] version = "=0.2.2" optional = true [dependencies.cookie] version = "=0.18.1" features = ["percent-encode"] optional = true [dependencies.encoding_rs] version = "=0.8.34" optional = true [dependencies.enumflags2] version = "=0.7.10" [dependencies.flate2] version = "=1.0.33" features = ["default"] optional = true [dependencies.form_urlencoded] version = "=1.2.1" [dependencies.futures-util] version = "=0.3.30" [dependencies.headers] version = "=0.4.0" [dependencies.hex] version = "=0.4.3" optional = true [dependencies.http-body-util] version = "=0.1.2" [dependencies.hyper] version = "=1.4.1" features = [ "http1", "server", "http2", ] [dependencies.hyper-util] version = "=0.1.8" features = [ "server-auto", "server-graceful", ] [dependencies.hypers_macro] version = "0.14.1" optional = true [dependencies.mime] version = "=0.3.17" [dependencies.mime_guess] version = "=2.0.5" [dependencies.multer] version = "=3.1.0" [dependencies.multimap] version = "=0.10.0" [dependencies.path-slash] version = "=0.2.1" optional = true [dependencies.percent-encoding] version = "=2.3.1" optional = true [dependencies.quick-xml] version = "=0.36.1" features = ["serialize"] optional = true [dependencies.rfc7239] version = "=0.1.1" [dependencies.rmp-serde] version = "=1.3.0" optional = true [dependencies.rust-embed] version = "=8.5.0" optional = true [dependencies.rustls-pemfile] version = "=2.1.3" optional = true [dependencies.serde] version = "=1.0.210" features = ["derive"] [dependencies.serde_json] version = "=1.0.128" features = ["raw_value"] [dependencies.serde_urlencoded] version = "=0.7.1" [dependencies.serde_yaml] version = "=0.9.33" optional = true [dependencies.smallvec] version = "=1.13.2" [dependencies.tempfile] version = "=3.12.0" [dependencies.time] version = "=0.3.36" features = [ "serde", "macros", "formatting", ] optional = true [dependencies.tokio] version = "=1.40.0" features = [ "parking_lot", "io-util", "fs", "net", "rt-multi-thread", "macros", ] [dependencies.tokio-native-tls] version = "=0.3.1" optional = true [dependencies.tokio-rustls] version = "=0.26.0" optional = true [dependencies.tokio-tungstenite] version = "=0.24.0" optional = true [dependencies.toml] version = "=0.8.19" optional = true [dependencies.tracing] version = "=0.1.40" optional = true [dependencies.zstd] version = "=0.13.2" features = ["default"] optional = true [dev-dependencies] [features] cbor = ["ciborium"] cookie = ["dep:cookie"] debug = ["tracing"] default = [ "macro", "http1", ] full = [ "http2", "cbor", "msgpack", "yaml", "toml", "xml", "multipart", "cookie", "static_file", "static_embed", "websocket", "rustls", "native_tls", ] http1 = [ "hyper/http1", "hyper-util/http1", ] http2 = [ "hyper/http2", "hyper-util/http2", ] macro = ["hypers_macro"] msgpack = ["rmp-serde"] multipart = [] native_tls = ["tokio-native-tls"] rustls = [ "tokio-rustls", "rustls-pemfile", ] static_embed = [ "percent-encoding", "rust-embed", "path-slash", "hex", ] static_file = [ "time", "percent-encoding", ] test = [ "dep:base64", "dep:brotli", "dep:flate2", "dep:zstd", "dep:encoding_rs", "dep:bytes", ] toml = ["dep:toml"] websocket = ["tokio-tungstenite"] xml = ["dep:quick-xml"] yaml = ["dep:serde_yaml"]