Gate `schemars` skip under feature flag (#4514)

This commit is contained in:
Charlie Marsh 2023-05-18 23:01:31 -04:00 committed by GitHub
parent 15cb21a6f4
commit ab303f4e09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ pub struct Options {
///
/// This option has been **deprecated** in favor of `unfixable` since its usage is now
/// interchangeable with `unfixable`.
#[schemars(skip)]
#[cfg_attr(feature = "schemars", schemars(skip))]
pub extend_unfixable: Option<Vec<RuleSelector>>,
#[option(
default = "[]",