Skip to content

Commit c23eba7

Browse files
weihangloshepmaster
authored andcommitted
fix: use kebab-case as underscores are not allowed in edition 2024
1 parent 04e0f7c commit c23eba7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

top-crates/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use std::{
1010

1111
/// A Cargo.toml file.
1212
#[derive(Serialize)]
13+
#[serde(rename_all = "kebab-case")]
1314
struct TomlManifest {
1415
package: TomlPackage,
1516
profile: Profiles,

0 commit comments

Comments
 (0)