-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
a39a0d9 ci: verify formating for pull requests (Cameron Garnham) c982c4e fmt: add world format to git-blame-ignore file (Cameron Garnham) 9ddc079 fmt: format the world (Cameron Garnham) 06bb34b fmt: include rust format, same as torrust-index (Cameron Garnham) Pull request description: Format all files in the Index Backend. ACKs for top commit: da2ce7: ACK a39a0d9 Tree-SHA512: ec4b1e27e43b04b04595938f302edbe7801b49a2f3fd03df6728b54067ff0fb5fee8959e90954bd4859f8095e501a186c1eeda1ff08852c072eb4acef8ea8dab
- Loading branch information
Showing
35 changed files
with
818 additions
and
647 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,4 @@ | ||
# https://git-scm.com/docs/git-blame#Documentation/git-blame.txt---ignore-revs-fileltfilegt | ||
|
||
# Format the world! | ||
9ddc079b00fc5d6ecd80199edc078d6793fb0a9c |
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,20 @@ | ||
name: Development Checks | ||
|
||
on: [pull_request] | ||
|
||
jobs: | ||
format: | ||
runs-on: ubuntu-latest | ||
env: | ||
CARGO_TERM_COLOR: always | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: dtolnay/rust-toolchain@nightly | ||
with: | ||
components: rustfmt | ||
- uses: Swatinem/rust-cache@v2 | ||
- name: Verify Formatting | ||
uses: ClementTsang/cargo-action@main | ||
with: | ||
command: fmt | ||
args: --all --check |
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,4 @@ | ||
max_width = 130 | ||
imports_granularity = "Module" | ||
group_imports = "StdExternalCrate" | ||
|
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
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
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
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
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
pub mod database; | ||
pub mod sqlite; | ||
pub mod mysql; | ||
pub mod sqlite; |
Oops, something went wrong.