1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-23 16:21:06 +01:00

reduce scope of once_cell change

This commit is contained in:
Rob Ede 2022-07-22 20:19:02 +01:00
parent 9b0fdca6e9
commit 16c7c16463
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
5 changed files with 7 additions and 6 deletions

View File

@ -40,7 +40,7 @@ awc = { version = "3", default-features = false }
base64 = "0.13"
bytes = "1"
futures-core = { version = "0.3.7", default-features = false }
http = "0.2.8"
http = "0.2.5"
log = "0.4"
socket2 = "0.4"
serde = "1.0"

View File

@ -68,7 +68,7 @@ bytestring = "1"
derive_more = "0.99.5"
encoding_rs = "0.8"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
http = "0.2.8"
http = "0.2.5"
httparse = "1.5.1"
httpdate = "1.0.1"
itoa = "1"

View File

@ -21,14 +21,14 @@ default = ["http"]
[dependencies]
bytestring = ">=0.1.5, <2"
http = { version = "0.2.8", optional = true }
http = { version = "0.2.5", optional = true }
regex = "1.5"
serde = "1"
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
[dev-dependencies]
criterion = { version = "0.3", features = ["html_reports"] }
http = "0.2.8"
http = "0.2.5"
serde = { version = "1", features = ["derive"] }
percent-encoding = "2.1"

View File

@ -10,9 +10,10 @@
//! - Browser conformance tests at: <http://greenbytes.de/tech/tc2231/>
//! - IANA assignment: <http://www.iana.org/assignments/cont-disp/cont-disp.xhtml>
use std::fmt::{self, Write};
use once_cell::sync::Lazy;
use regex::Regex;
use std::fmt::{self, Write};
use super::{ExtendedValue, Header, TryIntoHeaderValue, Writer};
use crate::http::header;

View File

@ -73,7 +73,7 @@ derive_more = "0.99.5"
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
futures-util = { version = "0.3.7", default-features = false, features = ["alloc", "sink"] }
h2 = "0.3.9"
http = "0.2.8"
http = "0.2.5"
itoa = "1"
log =" 0.4"
mime = "0.3"