-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b456b9b
Showing
27 changed files
with
2,465 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: CI | ||
on: [push, pull_request] | ||
|
||
jobs: | ||
test: | ||
name: Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install stable toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
with: | ||
components: clippy, rustfmt | ||
|
||
- name: cargo clippy | ||
run: cargo clippy | ||
|
||
- name: cargo fmt | ||
run: cargo fmt --check | ||
|
||
- name: cargo test | ||
run: cargo test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Release | ||
|
||
permissions: | ||
pull-requests: write | ||
contents: write | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
release-plz: | ||
name: Release-plz | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Install Rust toolchain | ||
uses: dtolnay/rust-toolchain@stable | ||
- name: Run release-plz | ||
uses: MarcoIeni/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# [Code of Conduct](code-of-conduct) | ||
|
||
The Rust Foundation has adopted a Code of Conduct that we expect project | ||
participants to adhere to. Please read | ||
[the full text][code-of-conduct] | ||
so that you can understand what actions will and will not be tolerated. | ||
|
||
[code-of-conduct]: https://foundation.rust-lang.org/policies/code-of-conduct/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Contributing to a Rust Foundation Project | ||
|
||
Thank you for your interest in contributing to this Rust Foundation project. | ||
We are happy and excited to review and accept your pull requests. | ||
|
||
## Before You Begin Contributing | ||
|
||
### Licenses | ||
|
||
There is no Contributor License Agreement to sign to contribute this project. | ||
Your contribution will be covered by the license(s) granted for this | ||
repository, commonly MIT, Apache, and/or CC-BY, but could be a different | ||
license. In other words, your contribution will be licensed to the Foundation | ||
and all downstream users under those licenses. You can read more in the | ||
Foundation's [intellectual property policy][ip-policy]. | ||
|
||
### Code of Conduct | ||
|
||
Please review and adhere to the [code of conduct](CODE_OF_CONDUCT.md) before | ||
contributing any pull requests. | ||
|
||
## Contribution Process | ||
|
||
All submissions, including submissions by project members, require review. We | ||
use GitHub pull requests for this purpose. Consult [GitHub Help][pull-requests] | ||
for more information on using pull requests. | ||
|
||
### Issues | ||
|
||
Do you just want to file an issue for the project? Please do so in GitHub under | ||
the `Issues` tab. | ||
|
||
[ip-policy]: https://foundation.rust-lang.org/policies/intellectual-property-policy/ | ||
[pull-requests]: https://help.github.com/articles/about-pull-requests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
This project is dual licensed under Apache 2.0 and MIT terms with the exception | ||
of documentation (e.g., `.md` docs in a `/docs` folder) which is licensed under | ||
Creative Commons Attribution 4.0 International. | ||
|
||
Copyrights in a Rust Foundation project are retained by their contributors. No | ||
copyright assignment is required to contribute to the Rust project. | ||
|
||
While not the default, some files may include explicit copyright notices | ||
and/or license notices. | ||
|
||
Except as otherwise noted (e.g., with documentation), Rust is licensed under the | ||
Apache License, Version 2.0 <LICENSE-APACHE> or | ||
<http://www.apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT> or | ||
<http://opensource.org/licenses/MIT>, at your option. |
Oops, something went wrong.