diff --git a/cmake/components/rust-{{project-name}}/Cargo.toml b/cmake/components/rust-{{project-name}}/Cargo.toml index 366f75b..673c907 100644 --- a/cmake/components/rust-{{project-name}}/Cargo.toml +++ b/cmake/components/rust-{{project-name}}/Cargo.toml @@ -5,6 +5,9 @@ authors = ["{{authors}}"] edition = "2021" rust-version = "1.71" +[patch.crates-io] +esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys" } + [lib] crate-type = ["staticlib"]