Skip to content

Commit b4c0244

Browse files
authored
Bump struct-patch from 0.4.1 to 0.8.6 (#2386)
1 parent 1346e55 commit b4c0244

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

Cargo.lock

Lines changed: 4 additions & 4 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
@@ -50,7 +50,7 @@ scopetime = { path = "./scopetime", version = "0.1" }
5050
serde = "1.0"
5151
shellexpand = "3.1"
5252
simplelog = { version = "0.12", default-features = false }
53-
struct-patch = "0.4"
53+
struct-patch = "0.8"
5454
syntect = { version = "5.2", default-features = false, features = [
5555
"parsing",
5656
"default-syntaxes",

src/keys/key_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ impl From<&GituiKeyEvent> for KeyEvent {
3535
}
3636

3737
#[derive(Debug, Clone, Patch)]
38-
#[patch_derive(Deserialize, Debug)]
38+
#[patch(attribute(derive(Deserialize, Debug)))]
3939
pub struct KeysList {
4040
pub tab_status: GituiKeyEvent,
4141
pub tab_log: GituiKeyEvent,

src/ui/style.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ use struct_patch::Patch;
99
pub type SharedTheme = Rc<Theme>;
1010

1111
#[derive(Serialize, Deserialize, Debug, Clone, Patch)]
12-
#[patch_derive(Serialize, Deserialize)]
12+
#[patch(attribute(derive(Serialize, Deserialize)))]
1313
pub struct Theme {
1414
selected_tab: Color,
1515
command_fg: Color,

0 commit comments

Comments
 (0)