# 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.75" name = "boluo" version = "0.5.4" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "简单易用的异步网络框架" homepage = "https://github.com/dakai-chen/boluo" readme = "README.md" keywords = [ "http", "web", "framework", "async", ] categories = [ "asynchronous", "network-programming", "web-programming::http-server", ] license = "MIT" repository = "https://github.com/dakai-chen/boluo" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "boluo" path = "src/lib.rs" [[bench]] name = "bench" path = "benches/bench.rs" harness = false [dependencies.base64] version = "0.22" optional = true [dependencies.boluo-core] version = "0.4" [dependencies.boluo-macros] version = "0.1" [dependencies.bytes] version = "1" [dependencies.futures-util] version = "0.3" [dependencies.headers] version = "0.4" [dependencies.hyper] version = "1" optional = true [dependencies.hyper-util] version = "0.1" optional = true [dependencies.matchit] version = "0.8" [dependencies.memchr] version = "2" optional = true [dependencies.mime] version = "0.3" [dependencies.mime_guess] version = "2" optional = true [dependencies.multer] version = "3" optional = true [dependencies.percent-encoding] version = "2" [dependencies.pin-project-lite] version = "0.2" [dependencies.serde] version = "1" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.serde_urlencoded] version = "0.7" [dependencies.sha1] version = "0.10" optional = true [dependencies.tokio] version = "1" optional = true [dependencies.tokio-tungstenite] version = "0.24" optional = true [dependencies.tokio-util] version = "0.7" optional = true [dev-dependencies.criterion] version = "0.5" features = ["async_tokio"] [dev-dependencies.tokio] version = "1" features = ["full"] [features] default = [ "server", "http1", ] fs = [ "tokio/fs", "tokio/io-util", "tokio-util/io", "mime_guess", ] http1 = [ "hyper/http1", "hyper-util/http1", ] http2 = [ "hyper/http2", "hyper-util/http2", ] listener = ["tokio/net"] multipart = ["multer"] server = [ "listener", "hyper/server", "hyper-util/tokio", "hyper-util/server", "tokio/rt", "tokio/macros", "tokio-util", ] sse = [ "tokio/time", "memchr", ] ws = [ "hyper", "hyper-util/tokio", "tokio/rt", "tokio-tungstenite", "sha1", "base64", ]