mirror of
https://github.com/denoland/deno.git
synced 2024-12-28 10:09:20 -05:00
990ecc99d8
Includes a lightly-modified version of hyper-util's `TokioIo` utility. Hyper changes: v1.0.0-rc.4 (2023-07-10) Bug Fixes http1: http1 server graceful shutdown fix (#3261) ([f4b51300](f4b513009d
)) send error on Incoming body when connection errors (#3256) ([52f19259](52f192593f
), closes https://github.com/hyperium/hyper/issues/3253) properly end chunked bodies when it was known to be empty (#3254) ([fec64cf0](fec64cf0ab
), closes https://github.com/hyperium/hyper/issues/3252) Features client: Make clients able to use non-Send executor (#3184) ([d977f209](d977f209bc
), closes https://github.com/hyperium/hyper/issues/3017) rt: replace IO traits with hyper::rt ones (#3230) ([f9f65b7a](f9f65b7aa6
), closes https://github.com/hyperium/hyper/issues/3110) add downcast on Sleep trait (#3125) ([d92d3917](d92d3917d9
), closes https://github.com/hyperium/hyper/issues/3027) service: change Service::call to take &self (#3223) ([d894439e](d894439e00
), closes https://github.com/hyperium/hyper/issues/3040) Breaking Changes Any IO transport type provided must not implement hyper::rt::{Read, Write} instead of tokio::io traits. You can grab a helper type from hyper-util to wrap Tokio types, or implement the traits yourself, if it's a custom type. ([f9f65b7a](f9f65b7aa6
)) client::conn::http2 types now use another generic for an Executor. Code that names Connection needs to include the additional generic parameter. ([d977f209](d977f209bc
)) The Service::call function no longer takes a mutable reference to self. The FnMut trait bound on the service::util::service_fn function and the trait bound on the impl for the ServiceFn struct were changed from FnMut to Fn.
56 lines
1.4 KiB
TOML
56 lines
1.4 KiB
TOML
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "deno_http"
|
|
version = "0.108.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
repository.workspace = true
|
|
description = "HTTP server implementation for Deno"
|
|
|
|
[features]
|
|
"__zombie_http_tracking" = []
|
|
"__http_tracing" = []
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[[bench]]
|
|
name = "compressible"
|
|
harness = false
|
|
|
|
[dependencies]
|
|
async-compression = { version = "0.3.12", features = ["tokio", "brotli", "gzip"] }
|
|
async-trait.workspace = true
|
|
base64.workspace = true
|
|
brotli = "3.3.4"
|
|
bytes.workspace = true
|
|
cache_control.workspace = true
|
|
deno_core.workspace = true
|
|
deno_net.workspace = true
|
|
deno_websocket.workspace = true
|
|
flate2.workspace = true
|
|
fly-accept-encoding = "0.2.0"
|
|
http.workspace = true
|
|
httparse.workspace = true
|
|
hyper = { workspace = true, features = ["server", "stream", "http1", "http2", "runtime"] }
|
|
hyper1 = { package = "hyper", features = ["full"], version = "=1.0.0-rc.4" }
|
|
memmem.workspace = true
|
|
mime = "0.3.16"
|
|
once_cell.workspace = true
|
|
percent-encoding.workspace = true
|
|
phf = { version = "0.10", features = ["macros"] }
|
|
pin-project.workspace = true
|
|
ring.workspace = true
|
|
serde.workspace = true
|
|
slab.workspace = true
|
|
smallvec.workspace = true
|
|
thiserror.workspace = true
|
|
tokio.workspace = true
|
|
tokio-util = { workspace = true, features = ["io"] }
|
|
|
|
[dev-dependencies]
|
|
bencher.workspace = true
|
|
rand.workspace = true
|