@@ -1407,19 +1407,16 @@ pub fn clippy_driver() -> PathBuf {
1407
1407
}
1408
1408
1409
1409
#[ derive( Debug , Default , Deserialize , PartialEq ) ]
1410
+ #[ serde( rename_all = "kebab-case" ) ]
1410
1411
pub struct CargoHttpConfig {
1411
1412
pub proxy : Option < String > ,
1412
- #[ serde( rename = "low-speed-limit" ) ]
1413
1413
pub low_speed_limit : Option < u32 > ,
1414
1414
pub timeout : Option < u64 > ,
1415
1415
pub cainfo : Option < ConfigRelativePath > ,
1416
- #[ serde( rename = "check-revoke" ) ]
1417
1416
pub check_revoke : Option < bool > ,
1418
- #[ serde( rename = "user-agent" ) ]
1419
1417
pub user_agent : Option < String > ,
1420
1418
pub debug : Option < bool > ,
1421
1419
pub multiplexing : Option < bool > ,
1422
- #[ serde( rename = "ssl-version" ) ]
1423
1420
pub ssl_version : Option < SslVersionConfig > ,
1424
1421
}
1425
1422
@@ -1450,19 +1447,18 @@ pub struct SslVersionConfigRange {
1450
1447
}
1451
1448
1452
1449
#[ derive( Debug , Deserialize ) ]
1450
+ #[ serde( rename_all = "kebab-case" ) ]
1453
1451
pub struct CargoNetConfig {
1454
1452
pub retry : Option < u32 > ,
1455
1453
pub offline : Option < bool > ,
1456
- #[ serde( rename = "git-fetch-with-cli" ) ]
1457
1454
pub git_fetch_with_cli : Option < bool > ,
1458
1455
}
1459
1456
1460
1457
#[ derive( Debug , Deserialize ) ]
1458
+ #[ serde( rename_all = "kebab-case" ) ]
1461
1459
pub struct CargoBuildConfig {
1462
1460
pub pipelining : Option < bool > ,
1463
- #[ serde( rename = "dep-info-basedir" ) ]
1464
1461
pub dep_info_basedir : Option < ConfigRelativePath > ,
1465
- #[ serde( rename = "target-dir" ) ]
1466
1462
pub target_dir : Option < ConfigRelativePath > ,
1467
1463
pub incremental : Option < bool > ,
1468
1464
pub target : Option < ConfigRelativePath > ,
0 commit comments