mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
[fixup] use single-line serde annotations
This commit is contained in:
parent
bd938f077d
commit
14c32d4911
@ -334,9 +334,7 @@ impl Features {
|
||||
///
|
||||
/// If you have any trouble with this, please let us know!
|
||||
#[derive(Default, Debug, Deserialize)]
|
||||
#[serde(default)]
|
||||
#[serde(deny_unknown_fields)]
|
||||
#[serde(rename_all="kebab-case")]
|
||||
#[serde(default, deny_unknown_fields, rename_all="kebab-case")]
|
||||
pub struct CliUnstable {
|
||||
pub print_im_a_teapot: bool,
|
||||
pub unstable_options: bool,
|
||||
|
Loading…
x
Reference in New Issue
Block a user