Skip to content

Commit 10b1f70

Browse files
nazo6Maximkaaa
authored andcommitted
feat: Enable selection of the TLS backend for reqwest
1 parent e12ca9b commit 10b1f70

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ font-kit = "0.14"
5454
font-query = { git = "https://github.com/Maximkaaa/font-query" }
5555
futures = "0.3"
5656
futures-intrusive = "0.5"
57-
galileo = { path = "galileo", version = "0.2.1" }
57+
galileo = { path = "galileo", version = "0.2.1", default-features = false }
5858
galileo-egui = { path = "galileo-egui", version = "0.2.1" }
5959
galileo-mvt = { path = "galileo-mvt", version = "0.2.1" }
6060
galileo-types = { path = "galileo-types", version = "0.2.1" }
@@ -78,7 +78,7 @@ prost-build = "0.12"
7878
quick_cache = "0.4"
7979
raw-window-handle = "0.6"
8080
regex = "1.11"
81-
reqwest = "0.11"
81+
reqwest = { version = "0.12", default-features = false }
8282
rustybuzz = "0.20"
8383
serde = "1"
8484
serde-wasm-bindgen = "0.6"

galileo-egui/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ eframe = { workspace = true, optional = true, default-features = false, features
2424
"persistence",
2525
] }
2626
env_logger = { workspace = true, optional = true }
27-
galileo = { workspace = true }
27+
galileo = { workspace = true, default-features = false, features = ["wgpu"] }
2828
log = { workspace = true }
2929
tokio = { workspace = true, optional = true }
3030

galileo/Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,13 @@ readme = "../README.md"
1212
exclude = ["examples"]
1313

1414
[features]
15-
default = ["wgpu", "serde", "winit", "_tests", "rustybuzz", "image"]
15+
default = ["wgpu", "serde", "winit", "_tests", "rustybuzz", "image", "reqwest-default-tls"]
1616
wgpu = ["dep:wgpu", "raw-window-handle"]
1717
geojson = ["dep:geojson", "galileo-types/geojson"]
1818
rustybuzz = ["dep:rustybuzz"]
1919
image = ["dep:image"]
2020
fontconfig-dlopen = ["font-kit/source-fontconfig-dlopen"]
21+
reqwest-default-tls = ["reqwest/default-tls"]
2122

2223
# Used to provide some fixtures for doctests
2324
_tests = []
@@ -73,7 +74,7 @@ doctest = false
7374
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
7475
font-kit = { workspace = true }
7576
maybe-sync = { workspace = true, features = ["sync"] }
76-
reqwest = { workspace = true }
77+
reqwest = { workspace = true, default-features = false }
7778
tokio = { workspace = true, default-features = true, features = ["macros", "rt", "rt-multi-thread"] }
7879
wgpu = { workspace = true, default-features = true, optional = true }
7980

0 commit comments

Comments
 (0)