Skip to content

Commit 1befcac

Browse files
Upgrade dependencies and add formatting
1 parent 82d2ee5 commit 1befcac

File tree

14 files changed

+1123
-1054
lines changed

14 files changed

+1123
-1054
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog for Ferium
22

3+
## [3.8.1] - 29.11.2021
4+
5+
- Added `rustfmt.toml` and formatted code according to that
6+
- Upgraded dependencies
7+
- Some code has been modified to support the many more nullable fields in Octocrab (WHY ARE ALL OF THEM `Option`S NOW??)
8+
39
## [3.8.0] - 19.11.2021
410

511
- Switched to `octocrab` and removed `octorok`

Cargo.lock

Lines changed: 93 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ferium"
3-
version = "3.8.0"
3+
version = "3.8.1"
44
edition = "2021"
55
authors = ["theRookieCoder <[email protected]>"]
66
description = "Ferium is an easy to use manager for Minecraft mods on Modrinth and Github Releases"

makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.SILENT: test
2+
13
build-mac:
24
# Run clippy
35
cargo clippy -- -D clippy::all
@@ -58,7 +60,7 @@ build-linux:
5860

5961
test:
6062
python3 save_config.py
61-
echo "Please remove both mods on the final 'remove' integration test"
63+
echo "Please remove both mods on the final 'remove' integration test (can't integration test user interaction. sad)"
6264
-cargo test -- --test-threads=1
6365
python3 restore_config.py
6466

rustfmt.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
format_code_in_doc_comments = true
2+
group_imports = "StdExternalCrate"
3+
enum_discrim_align_threshold = 20
4+
struct_field_align_threshold = 20
5+
condense_wildcard_suffixes = true
6+
match_block_trailing_comma = true
7+
normalize_doc_attributes = true
8+
use_field_init_shorthand = true
9+
overflow_delimited_expr = true
10+
imports_granularity = "Crate"
11+
spaces_around_ranges = true
12+
trailing_semicolon = false
13+
hex_literal_case = "Upper"
14+
normalize_comments = true
15+
unstable_features = true
16+
use_try_shorthand = true
17+
report_fixme = "Always"
18+
report_todo = "Always"
19+
newline_style = "Unix"
20+
fn_single_line = true
21+
wrap_comments = true
22+
hard_tabs = true
23+
tab_spaces = 4

0 commit comments

Comments
 (0)