Sign in
third-party-mirror
/
lightningcss
/
refs/heads/master
/
.
/
examples
/
schema.rs
blob: 9bfe3f6942e1fdb2a7ba5ee9a83e26c28110a5ed [
file
] [
log
] [
blame
] [
edit
]
fn
main
()
{
#[
cfg
(
feature
=
"jsonschema"
)]
{
let
schema
=
schemars
::
schema_for
!(
lightningcss
::
stylesheet
::
StyleSheet
);
let
output
=
serde_json
::
to_string_pretty
(&
schema
).
unwrap
();
let
_
=
std
::
fs
::
write
(
"node/ast.json"
,
output
);
}
}