Skip to content

Commit

Permalink
Revert "Use reqwest rustls-tls"
Browse files Browse the repository at this point in the history
This reverts commit 17c8aa7.
  • Loading branch information
Keats committed Feb 16, 2023
1 parent a56e424 commit bb17100
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 2 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ This will error if 2 values are set
- Enable locale date formatting for the Tera `date` filter
- Cachebust fingerprint is now only 20 chars long
- Add `text` alias for plain text highlighting (before, only `txt` was used)
- Switch reqwest TLS backend to rustls-tls


## 0.16.1 (2022-08-14)
Expand Down
152 changes: 152 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ libs = { path = "components/libs" }
same-file = "1"

[features]
default = ["rust-tls"]
rust-tls = ["libs/rust-tls"]
native-tls = ["libs/native-tls"]
indexing-zh = ["libs/indexing-zh"]
indexing-ja = ["libs/indexing-ja"]

Expand Down
6 changes: 5 additions & 1 deletion components/libs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ quickxml_to_serde = "0.5"
rayon = "1"
regex = "1"
relative-path = "1"
reqwest = { version = "0.11", default-features = false, features = ["blocking", "rustls-tls"] }
reqwest = { version = "0.11", default-features = false, features = ["blocking"] }
grass = {version = "0.12.1", default-features = false, features = ["random"]}
serde_json = "1"
serde_yaml = "0.9"
Expand All @@ -46,5 +46,9 @@ webp = "0.2"


[features]
# TODO: fix me, it doesn't pick up the reqwuest feature if not set as default
default = ["rust-tls"]
rust-tls = ["reqwest/rustls-tls"]
native-tls = ["reqwest/default-tls"]
indexing-zh = ["elasticlunr-rs/zh"]
indexing-ja = ["elasticlunr-rs/ja"]

0 comments on commit bb17100

Please sign in to comment.