Skip to content

Commit

Permalink
fix(ci): use rustls for self_update
Browse files Browse the repository at this point in the history
This was breaking our CI.
  • Loading branch information
fiji-flo committed Sep 19, 2024
1 parent 50981f2 commit 79259c5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 33 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

15 changes: 11 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,20 @@ regress = "0.10"
html-escape = "0.2"
ignore = "0.4"
rayon = "1"
reqwest = { version = "0.12", default-features = false, features = [
"blocking",
"json",
"rustls-tls",
"gzip",
] }


[dependencies]
self_update = { version = "0.41", features = [
"rustls",
"compression-flate2",
"compression-zip-deflate",
] }
anyhow = "1"
clap = { version = "4.5.1", features = ["derive"] }
clap-verbosity-flag = "2"
Expand All @@ -92,7 +103,3 @@ tracing = "0.1"
tracing-subscriber = "0.3"
tracing-log = "0.2"
tabwriter = "1"
self_update = { version = "0.41", features = [
"compression-flate2",
"compression-zip-deflate",
] }
15 changes: 1 addition & 14 deletions crates/rari-deps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,8 @@ serde.workspace = true
serde_json.workspace = true
chrono.workspace = true
thiserror.workspace = true
reqwest.workspace = true

css-syntax-types = { path = "../css-syntax-types" }
tar = "0.4"
flate2 = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = [
"blocking",
"json",
"rustls-tls",
"gzip",
] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
reqwest = { version = "0.12", default-features = false, features = [
"json",
"gzip",
] }
14 changes: 1 addition & 13 deletions crates/rari-tools/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,10 @@ serde_json.workspace = true
chrono.workspace = true
tracing.workspace = true
concat-in-place.workspace = true
reqwest.workspace = true

csv = "1"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
reqwest = { version = "0.12", default-features = false, features = [
"blocking",
"json",
"rustls-tls",
"gzip",
] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
reqwest = { version = "0.12", default-features = false, features = [
"json",
"gzip",
] }

[dev-dependencies]
rari-types = { workspace = true, features = ["testing"] }

0 comments on commit 79259c5

Please sign in to comment.