Switch Surf backend to h1-client-rustls

This commit is contained in:
spikecodes 2021-03-02 19:44:51 -08:00
parent 52d9698879
commit dd51b23dc4
No known key found for this signature in database
GPG key ID: 004CECFF9B463BCB
2 changed files with 227 additions and 259 deletions

View file

@ -3,18 +3,18 @@ name = "libreddit"
description = " Alternative private front-end to Reddit"
license = "AGPL-3.0"
repository = "https://github.com/spikecodes/libreddit"
version = "0.2.9"
version = "0.3.0"
authors = ["spikecodes <19519553+spikecodes@users.noreply.github.com>"]
edition = "2018"
[dependencies]
tide = { version = "0.16.0", default-features = false, features = ["h1-server", "cookies"] }
async-std = { version = "1.9.0", features = ["attributes"] }
surf = { version = "2.1.0", default-features = false, features = ["curl-client", "encoding"] }
surf = { version = "2.2.0", default-features = false, features = ["h1-client-rustls", "encoding"] }
cached = "0.23.0"
askama = { version = "0.10.5", default-features = false }
serde = { version = "1.0.123", features = ["derive"] }
serde_json = "1.0.62"
serde_json = "1.0.64"
async-recursion = "0.3.2"
regex = "1.4.3"
clap = { version = "2.33.3", default-features = false }