From 13015db97980af0605ca75936432b15ada1bf7ec 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..4d68650982 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/micahsnyder/onenote.rs.git?branch=CLAM-2329-new-from-slice"] +git = "https://github.com/micahsnyder/onenote.rs.git" +branch = "CLAM-2329-new-from-slice" +replace-with = "vendored-sources" + [source.vendored-sources] directory = \".cargo/vendor\" "