device-mapper-persistent-data/0001-Tweak-cargo.toml-to-work-with-vendor-directory.patch
2023-07-27 11:51:30 +02:00

40 lines
1.3 KiB
Diff

From 8b3609298420f5984ac3a2c74cb2ac4f94897eb0 Mon Sep 17 00:00:00 2001
From: Marian Csontos <mcsontos@redhat.com>
Date: Thu, 27 Jul 2023 11:37:01 +0200
Subject: [PATCH] Tweak cargo.toml to work with vendor directory
Mock works offline, cargo would try to download the files from github.
So cargo vendor has to be run first, and then change the Cargo.toml to
make mock happy.
---
Cargo.toml | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index 8be49a52..b9b05ce6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,8 @@ anyhow = "1.0"
base64 = "0.21"
byteorder = "1.4"
clap = { version = "4.3", default-features = false, features = ["std", "help", "usage", "error-context", "suggestions"] }
-crc32c = { git = "https://github.com/zowens/crc32c", branch = "master" }
+#crc32c = { git = "https://github.com/zowens/crc32c", branch = "master" }
+crc32c = "0.6"
data-encoding = "2.4"
exitcode = "1.1.2"
fixedbitset = "0.4"
@@ -27,7 +28,8 @@ quick-xml = "0.29"
rand = "0.8"
rangemap = "1.3"
roaring = "0.10"
-rio = { git = "https://github.com/jthornber/rio", branch = "master", optional = true }
+#rio = { git = "https://github.com/jthornber/rio", branch = "master", optional = true }
+rio = { version = "0.9.4", optional = true }
safemem = "0.3"
threadpool = "1.8"
thiserror = "1.0"
--
2.41.0