diff options
author | David Knaack <davidkna@users.noreply.github.com> | 2022-04-01 17:14:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 17:14:05 +0200 |
commit | 18ad26f98dd1bfcc01e2b092a5b6165a7b093631 (patch) | |
tree | 10f55ccdfb49f12aae9fd8b03217579683b5a62d /src/configs/purescript.rs | |
parent | 418bac919087c692c8188744d951b50643c45f49 (diff) |
feat: allow printing config file schema (#3737)
Diffstat (limited to 'src/configs/purescript.rs')
-rw-r--r-- | src/configs/purescript.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configs/purescript.rs b/src/configs/purescript.rs index a3dead384..61a07c898 100644 --- a/src/configs/purescript.rs +++ b/src/configs/purescript.rs @@ -1,6 +1,7 @@ use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] +#[cfg_attr(feature = "config-schema", derive(schemars::JsonSchema))] #[serde(default)] pub struct PureScriptConfig<'a> { pub format: &'a str, |