Bump struct-patch from 0.4.1 to 0.8.6 (#2386)

This commit is contained in:
Antonio Yang 2024-10-21 15:20:17 +08:00 committed by GitHub
parent 1346e5594c
commit b4c0244a2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 7 deletions

8
Cargo.lock generated
View file

@ -2932,18 +2932,18 @@ checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
[[package]]
name = "struct-patch"
version = "0.4.1"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c52ef523e89b3172242bbabefd8a92493ae5571224c29ed2f00185c39b395c2"
checksum = "82dd71e677fa313d07db38f4c7f9a38f89dfb90be8f35914956919f6ca7b9174"
dependencies = [
"struct-patch-derive",
]
[[package]]
name = "struct-patch-derive"
version = "0.4.1"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f14a349c27ebe59faba22f933c9c734d428da7231e88a247e9d8c61eea964ddb"
checksum = "4596646090f0d724e6c7f3b65d694f99a0daa1a5893a78ef83887025e041405c"
dependencies = [
"proc-macro2",
"quote",

View file

@ -50,7 +50,7 @@ scopetime = { path = "./scopetime", version = "0.1" }
serde = "1.0"
shellexpand = "3.1"
simplelog = { version = "0.12", default-features = false }
struct-patch = "0.4"
struct-patch = "0.8"
syntect = { version = "5.2", default-features = false, features = [
"parsing",
"default-syntaxes",

View file

@ -35,7 +35,7 @@ impl From<&GituiKeyEvent> for KeyEvent {
}
#[derive(Debug, Clone, Patch)]
#[patch_derive(Deserialize, Debug)]
#[patch(attribute(derive(Deserialize, Debug)))]
pub struct KeysList {
pub tab_status: GituiKeyEvent,
pub tab_log: GituiKeyEvent,

View file

@ -9,7 +9,7 @@ use struct_patch::Patch;
pub type SharedTheme = Rc<Theme>;
#[derive(Serialize, Deserialize, Debug, Clone, Patch)]
#[patch_derive(Serialize, Deserialize)]
#[patch(attribute(derive(Serialize, Deserialize)))]
pub struct Theme {
selected_tab: Color,
command_fg: Color,