From 33885a809aeb64ddb5f5c8e2bd2967dda6a10724 Mon Sep 17 00:00:00 2001 From: Pirmin Kalberer Date: Thu, 9 Dec 2021 10:22:08 +0100 Subject: [PATCH] Use gdal-sys from github repo --- Cargo.lock | 6 ++---- t-rex-gdal/Cargo.toml | 7 +++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 55cf43e..b3fe28c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1120,8 +1120,7 @@ dependencies = [ [[package]] name = "gdal" version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "499d861a8bae743b64552f4448860301c1ed6d919d93de247b237938f9742102" +source = "git+https://github.com/geohardtke/gdal?branch=prebuilt_34#f8b97f04b4ba307f05264b16dd3c85bef7f070ab" dependencies = [ "bitflags", "chrono", @@ -1136,8 +1135,7 @@ dependencies = [ [[package]] name = "gdal-sys" version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a3cbe455a1956d8bb388ff7cd7f57c23215dbee46198a0f35688fd1fd604ca1" +source = "git+https://github.com/geohardtke/gdal?branch=prebuilt_34#f8b97f04b4ba307f05264b16dd3c85bef7f070ab" dependencies = [ "libc", "pkg-config", diff --git a/t-rex-gdal/Cargo.toml b/t-rex-gdal/Cargo.toml index b904bbb..7a2025a 100644 --- a/t-rex-gdal/Cargo.toml +++ b/t-rex-gdal/Cargo.toml @@ -13,8 +13,11 @@ workspace = ".." doctest = false [dependencies] -gdal = "0.11" -gdal-sys = "0.5" +#gdal = "0.11" +gdal = { git = "https://github.com/geohardtke/gdal", branch = "prebuilt_34" } +#gdal-sys = "0.5" +# We need GDAL 3.4 bindings for Win CI (https://github.com/georust/gdal/pull/231) +gdal-sys = { git = "https://github.com/geohardtke/gdal", branch = "prebuilt_34" } log = "0.4" tile-grid = { path = "../tile-grid" } t-rex-core = { path = "../t-rex-core" }