Skip to content

Commit 6bca4fe

Browse files
committed
refactor: move badgelib to separate crate
1 parent 4785102 commit 6bca4fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+1291
-1039
lines changed

.dockerignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
*
22
!Cargo.toml
33
!Cargo.lock
4-
!src/
5-
!assets/
4+
!app/
5+
!badgelib/

.github/workflows/build.yml

+2-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@ jobs:
2525
target/
2626
2727
- run: rustup update --no-self-update stable && rustup default stable
28-
- run: cargo fmt --check
29-
- run: cargo check --release --locked
30-
- run: cargo test
28+
- run: make lint
29+
- run: make test
3130

3231
- uses: docker/setup-qemu-action@v3
3332
- uses: docker/setup-buildx-action@v3

.gitmodules

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "vendor/simple-icons"]
2-
path = vendor/simple-icons
1+
[submodule "badgelib/vendor/simple-icons"]
2+
path = badgelib/vendor/simple-icons
33
url = https://github.com/simple-icons/simple-icons.git

.rustfmt.toml

+4
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
max_width = 100
33
use_small_heuristics = "Max"
44
tab_spaces = 2
5+
6+
unstable_features = true
7+
group_imports = "StdExternalCrate"
8+
imports_granularity = "Module"

.vscode/settings.json

+8-1
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,20 @@
1010
"editor.wordWrap": "wordWrapColumn",
1111
"editor.wordWrapColumn": 99
1212
},
13+
"[json]": {
14+
"editor.defaultFormatter": "esbenp.prettier-vscode",
15+
},
1316
"rust-analyzer.cargo.targetDir": true,
1417
"editor.formatOnSave": true,
15-
"files.exclude": { "Cargo.lock": true, "target": true, "vendor": true },
1618
"evenBetterToml.formatter.columnWidth": 100,
1719
"code-runner.executorMap": {
1820
"rust": "cargo run -r #$fileName"
1921
},
22+
"files.exclude": {
23+
"Cargo.lock": true,
24+
"target": true,
25+
"**/vendor": true
26+
},
2027
"search.exclude": {
2128
"**/vendor": true,
2229
"**/target": true

Cargo.lock

+73-48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)