enables http2 crate feature, replaces http1 protocol with http2 on co… (#305)

This commit is contained in:
Alex 2024-10-31 19:48:19 -07:00 committed by GitHub
parent 9aea9c90a2
commit a96894c743
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 12 additions and 18 deletions

View file

@ -24,7 +24,7 @@ serde = { version = "1.0.193", features = ["derive"] }
cookie = "0.18.0"
futures-lite = "2.2.0"
hyper = { version = "0.14.28", features = ["full"] }
hyper-rustls = "0.24.2"
hyper-rustls = { version = "0.24.2", features = [ "http2" ] }
percent-encoding = "2.3.1"
route-recognizer = "0.3.1"
serde_json = "1.0.108"
@ -65,4 +65,4 @@ path = "src/main.rs"
[[bin]]
name = "scraper"
path = "src/scraper/main.rs"
path = "src/scraper/main.rs"