Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
@@ -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" ]
@@ -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"))]