Skip to content

Commit 6310175

Browse files
committed
use stable formatter settings, update SDK
1 parent 0ece608 commit 6310175

4 files changed

Lines changed: 15 additions & 13 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[package]
22
name = "firefly-input-test"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55

66
[dependencies]
7-
firefly-rust = { version = "0.2.0", default-features = false }
7+
firefly-rust = { version = "0.2.2", default-features = false }
88

99
# https://github.com/johnthagen/min-sized-rust
1010
[profile.release]

rustfmt.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
imports_granularity = "Module"
2-
group_imports = "One"
3-
hex_literal_case = "Lower"
42
newline_style = "Unix"
5-
normalize_comments = true
6-
normalize_doc_attributes = true
7-
reorder_impl_items = true
8-
struct_field_align_threshold = 20
93
use_field_init_shorthand = true
104
force_explicit_abi = false
5+
6+
## Uncomment when stabilized:
7+
# group_imports = "One"
8+
# hex_literal_case = "Lower"
9+
# normalize_comments = true
10+
# normalize_doc_attributes = true
11+
# reorder_impl_items = true
12+
# struct_field_align_threshold = 20

src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ extern fn render() {
1717
y: PAD_RADIUS - pad.y / 20,
1818
};
1919
let style = Style {
20-
fill_color: Color::DarkBlue,
20+
fill_color: Color::DarkBlue,
2121
stroke_color: Color::None,
2222
stroke_width: 2,
2323
};
@@ -50,7 +50,7 @@ extern fn render() {
5050
fn draw_bg() {
5151
clear_screen(Color::White);
5252
let style = Style {
53-
fill_color: Color::None,
53+
fill_color: Color::None,
5454
stroke_color: Color::DarkBlue,
5555
stroke_width: 2,
5656
};

0 commit comments

Comments
 (0)