From fdc4e11aa8baeee76c343175ab6fa289fa10818b Mon Sep 17 00:00:00 2001 From: chrysn Date: Tue, 31 May 2022 17:42:26 +0200 Subject: [PATCH] Rust: Use git versions of riot-{sys,wrappers} by default This makes it easier for all maintainers to adjust to C-nonbreaking but Rust-breaking API changes, as regular `cargo update` steps don't require a crates.io release any more. --- .cargo/config.toml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .cargo/config.toml diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000000..03fd973948 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,9 @@ +# Between RIOT releases, this file points all projects in the tree to git +# versions (still respecting Cargo.lock). +# +# Authors of out-of-tree applications can use the same lines in their +# Cargo.toml, copy this file over, or just use the released versions. + +[patch.crates-io] +riot-sys = { git = "https://github.com/RIOT-OS/rust-riot-sys" } +riot-wrappers = { git = "https://github.com/RIOT-OS/rust-riot-wrappers" }