Sfoglia il codice sorgente

chore(deps) Update Rust crate heck to 0.4 (#3072)

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
renovate[bot] 3 anni fa
parent
commit
66ca8af977
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      core/tauri-utils/Cargo.toml
  2. 1 1
      core/tauri-utils/src/lib.rs

+ 1 - 1
core/tauri-utils/Cargo.toml

@@ -24,7 +24,7 @@ proc-macro2 = { version = "1.0", optional = true }
 quote = { version = "1.0", optional = true }
 
 [target."cfg(target_os = \"linux\")".dependencies]
-heck = "0.3"
+heck = "0.4"
 
 [features]
 build = [ "proc-macro2", "quote" ]

+ 1 - 1
core/tauri-utils/src/lib.rs

@@ -29,7 +29,7 @@ impl PackageInfo {
   pub fn package_name(&self) -> String {
     #[cfg(target_os = "linux")]
     {
-      use heck::KebabCase;
+      use heck::ToKebabCase;
       self.name.clone().to_kebab_case()
     }
     #[cfg(not(target_os = "linux"))]