This repository contains automated builds of the gd32-rs crates, rebuilt whenever a PR is merged to the main branch. Consult the gd32-rs README for full details.
Edit your Cargo.toml
:
[dependencies.gd32f1]
git = "https://github.com/gd32-rust/gd32-rs-nightlies"
features = ["gd32f130", "rt"]
The nightlies should always build and be as stable as the latest release, but typically with the latest patches and updates.
Since no commit history is stored in this repository (to keep download sizes
small), if you depend on a specific git commit (for example if one ends up
in your Cargo.lock
file) it will eventually be removed from this repository,
breaking your build until you update.
For local development builds this shouldn't be a problem, but for CI systems it might be annoying. The recommended solution is to fork this repository; your fork will not update automatically and so will persist the commit you use until you manually update the fork (either by pushing a new commit to it or by deleting and re-forking it).