11[package ]
22name = " http-cache-semantics"
3- version = " 1 .0.2 "
3+ version = " 2 .0.0 "
44description = " RFC 7234. Parses HTTP headers to correctly compute cacheability of responses, even in complex cases"
55homepage = " https://lib.rs/http-cache-semantics"
66repository = " https://github.com/kornelski/rusty-http-cache-semantics"
@@ -12,20 +12,21 @@ categories = ["caching", "web-programming::http-client"]
1212keywords = [" http" , " cache" , " headers" , " cache-control" , " proxy" ]
1313include = [" Cargo.toml" , " README.md" , " src/*.rs" , " LICENSE" ]
1414readme = " README.md"
15+ rust-version = " 1.64"
1516
1617[dependencies ]
17- http = " 0.2.6 "
18- http-serde = { version = " 1.1 .0" , optional = true }
19- serde = { version = " 1.0.136 " , optional = true , features = [" derive" ] }
20- reqwest = { version = " 0.11.10 " , default-features = false , optional = true }
21- time = { version = " 0.3.9 " , features = [" parsing" , " formatting" ] }
18+ http = " 1.0.0 "
19+ http-serde = { version = " 2.0 .0" , optional = true }
20+ serde = { version = " 1.0.192 " , optional = true , features = [" derive" ] }
21+ # reqwest = { version = "0.11.22 ", default-features = false, optional = true } # not upgraded yet
22+ time = { version = " 0.3.30 " , features = [" parsing" , " formatting" ] }
2223
2324[dev-dependencies ]
24- serde_json = " 1.0.79 "
25+ serde_json = " 1.0.108 "
2526
2627[features ]
27- default = [" with_serde " ]
28- with_serde = [" dep:serde" , " dep:http-serde" ]
28+ default = [" serde " ]
29+ serde = [" dep:serde" , " dep:http-serde" ]
2930
3031[package .metadata .docs .rs ]
3132targets = [" x86_64-unknown-linux-gnu" ]
0 commit comments