Skip to content

Commit

Permalink
Rust: Use git versions of riot-{sys,wrappers} by default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
chrysn committed May 31, 2022
1 parent bf2d480 commit fdc4e11
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -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" }

0 comments on commit fdc4e11

Please sign in to comment.