[dependencies.anyhow]
version = "1.0"
[dependencies.async-std]
optional = true
version = "1.13"
[dependencies.async-tls]
optional = true
version = "0.13"
[dependencies.bytes]
version = "1"
[dependencies.gostd_builtin]
version = "^1.0"
[dependencies.gostd_io]
version = "^1.0"
[dependencies.gostd_strings]
version = "^1.0"
[dependencies.gostd_time]
version = "^1.0"
[dependencies.gostd_url]
version = "^1.0"
[dependencies.rustls]
version = "^0.23"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["full"]
optional = true
version = "1.45.0"
[dependencies.tokio-rustls]
optional = true
version = "0.26"
[dependencies.webpki-roots]
version = "1.0.0"
[features]
async-http = []
async-std-runtime = ["async-std", "async-tls", "async-http"]
default = []
tokio-runtime = ["tokio", "tokio-rustls", "async-http"]
[lib]
name = "gostd_http"
path = "src/lib.rs"
[package]
authors = ["wandercn<wander@rustpub.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["api-bindings", "accessibility", "development-tools", "compilers"]
description = "gostd_http is a part of gostd, gostd_http 是go标准库net/http的rust实现"
edition = "2018"
homepage = "https://github.com/wandercn/gostd"
keywords = ["gostd_http", "http", "gostd", "go-to-rust", "go-standard-library"]
license = "MIT"
name = "gostd_http"
readme = false
repository = "https://github.com/wandercn/gostd"
version = "1.1.3"
[profile.dev]
opt-level = 0
[profile.release]
opt-level = 3