Skip to content

Commit 300bfec

Browse files
committed
cargo: bump convert_case from 0.6.0 to 0.8.0
1 parent 56825db commit 300bfec

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Cargo.lock

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

crates/cxx-qt-gen/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ cxx-gen.workspace = true
2424
proc-macro2.workspace = true
2525
syn.workspace = true
2626
quote.workspace = true
27-
convert_case = "0.6.0"
27+
convert_case = "0.8.0"
2828
clang-format = "0.3"
2929
indoc = "2.0"
3030

crates/cxx-qt-gen/src/parser/mod.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ use syn::{
3333

3434
#[derive(Copy, Clone)]
3535
pub struct CaseConversion {
36-
pub cxx: Option<Case>,
37-
pub rust: Option<Case>,
36+
pub cxx: Option<Case<'static>>,
37+
pub rust: Option<Case<'static>>,
3838
}
3939

4040
/// Used to match the auto_case attributes and turn it into a Case to convert to
41-
fn meta_to_case(attr: &Attribute, default: Case) -> Result<Case> {
41+
fn meta_to_case(attr: &Attribute, default: Case<'static>) -> Result<Case<'static>> {
4242
match &attr.meta {
4343
Meta::Path(_) => Ok(default),
4444
Meta::NameValue(case) => match &case.value {

0 commit comments

Comments
 (0)