mirror of
https://github.com/denoland/deno.git
synced 2025-01-06 22:35:51 -05:00
e6e708e46c
Switch `ext/fetch` over to `resourceForReadableStream` to simplify and unify implementation with `ext/serve`. This allows us to work in Rust with resources only. Two additional changes made to `resourceForReadableStream` were required: - Add an optional length to `resourceForReadableStream` which translates to `size_hint` - Fix a bug where writing to a closed stream that was full would panic
27 lines
631 B
TOML
27 lines
631 B
TOML
# Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "deno_fetch"
|
|
version = "0.150.0"
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
readme = "README.md"
|
|
repository.workspace = true
|
|
description = "Fetch API implementation for Deno"
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[dependencies]
|
|
bytes.workspace = true
|
|
data-url.workspace = true
|
|
deno_core.workspace = true
|
|
deno_tls.workspace = true
|
|
dyn-clone = "1"
|
|
http.workspace = true
|
|
pin-project.workspace = true
|
|
reqwest.workspace = true
|
|
serde.workspace = true
|
|
tokio.workspace = true
|
|
tokio-util = { workspace = true, features = ["io"] }
|