This commit is contained in:
Graham Esau 2021-04-05 21:12:23 +01:00
parent b4a6aeb51b
commit 86e2844c93
4 changed files with 4 additions and 7 deletions

View file

@ -182,15 +182,12 @@ Set on a container, variant or field to include the result of the given function
Set the Rust built-in [`deprecated`](https://doc.rust-lang.org/edition-guide/rust-2018/the-compiler/an-attribute-for-deprecation.html) attribute on a struct, enum, field or variant to set the generated schema's `deprecated` keyword to `true`.
<!--
TODO Uncomment for 0.8.3
<h3 id="crate">
`#[schemars(crate = "other_crate::schemars")]`
</h3>
Set the path to the schemars crate instance the generated code should depend on. This is mostly useful for other crates that depend on schemars in their macros.
-->
<h3 id="doc">