From c48146a792f973f7ac9540e8f9f5cd89768f03bb Mon Sep 17 00:00:00 2001 From: Micah Snyder Date: Tue, 19 Dec 2023 18:52:44 -0500 Subject: [PATCH] Cargo+Rust: add git repo source as vendored source --- cmake/FindRust.cmake | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cmake/FindRust.cmake b/cmake/FindRust.cmake index 9ce0850a18..f2274a0084 100644 --- a/cmake/FindRust.cmake +++ b/cmake/FindRust.cmake @@ -209,6 +209,11 @@ function(cargo_vendor) [source.crates-io] replace-with = \"vendored-sources\" +[source.\"git+https://github.com/Cisco-Talos/onenote.rs.git?branch=CLAM-2329-new-from-slice\"] +git = \"hhttps://github.com/Cisco-Talos/onenote.rs.git\" +branch = \"CLAM-2329-new-from-slice\" +replace-with = \"vendored-sources\" + [source.vendored-sources] directory = \".cargo/vendor\" "