Warning This project is still slowly evolving, and the conventions and the APIs could be changed. Some discussions concerning certain crucial design choices haven't been made yet.
Welcome to pacaptr!
- Rust code: Use
cargo +nightly fmtand stick withrustfmt.toml. Followcargo clippylints if possible. - Commit message: See Conventional Commits.
The API docs is a good starting point if you want to dive a little deeper into this project. You can get it in one of the following ways:
-
See the precompiled version on GitHub Pages.
-
Compile from source:
cargo doc --document-private-items --open
We currently make a new release by pushing a single new version tag to master, which will make the CI generate a new GitHub release together with the necessary artifacts.
To make this automatic (and to push the new version to crates.io at the same time), it is recommended to use cargo-release:
-
Perform a dry run to see if everything is OK1:
cargo release --workspace patch
-
Add
-xto actually publish the new version.
Footnotes
-
This example uses
patch(0.0.1). Depending on the situation,minor(0.1) ormajor(1.0) might be used instead. ↩