[dependencies.arrayvec07]
default-features = false
optional = true
package = "arrayvec"
version = "0.7"
[dependencies.bigdecimal04]
default-features = false
optional = true
package = "bigdecimal"
version = "0.4"
[dependencies.bytes1]
default-features = false
optional = true
package = "bytes"
version = "1.0"
[dependencies.chrono04]
default-features = false
optional = true
package = "chrono"
version = "0.4"
[dependencies.dyn-clone]
version = "1.0"
[dependencies.either1]
default-features = false
optional = true
package = "either"
version = "1.3"
[dependencies.enumset1]
default-features = false
optional = true
package = "enumset"
version = "1.0"
[dependencies.indexmap2]
default-features = false
optional = true
package = "indexmap"
version = "2.0"
[dependencies.ref-cast]
version = "1.0.22"
[dependencies.rust_decimal1]
default-features = false
optional = true
package = "rust_decimal"
version = "1"
[dependencies.schemars_derive]
optional = true
version = "=1.0.0-alpha.15"
[dependencies.semver1]
default-features = false
optional = true
package = "semver"
version = "1.0.9"
[dependencies.serde]
default-features = false
features = ["alloc"]
version = "1.0"
[dependencies.serde_json]
default-features = false
features = ["alloc"]
version = "1.0.127"
[dependencies.smallvec1]
default-features = false
optional = true
package = "smallvec"
version = "1.0"
[dependencies.smol_str02]
default-features = false
optional = true
package = "smol_str"
version = "0.2.1"
[dependencies.url2]
default-features = false
optional = true
package = "url"
version = "2.0"
[dependencies.uuid1]
default-features = false
optional = true
package = "uuid"
version = "1.0"
[dev-dependencies.pretty_assertions]
version = "1.2.1"
[dev-dependencies.serde]
features = ["derive"]
version = "1.0"
[dev-dependencies.trybuild]
version = "1.0"
[[example]]
name = "custom_serialization"
path = "examples/custom_serialization.rs"
[[example]]
name = "custom_settings"
path = "examples/custom_settings.rs"
[[example]]
name = "doc_comments"
path = "examples/doc_comments.rs"
[[example]]
name = "enum_repr"
path = "examples/enum_repr.rs"
[[example]]
name = "from_value"
path = "examples/from_value.rs"
[[example]]
name = "main"
path = "examples/main.rs"
[[example]]
name = "remote_derive"
path = "examples/remote_derive.rs"
[[example]]
name = "schemars_attrs"
path = "examples/schemars_attrs.rs"
[[example]]
name = "serde_attrs"
path = "examples/serde_attrs.rs"
[[example]]
name = "serialize_contract"
path = "examples/serialize_contract.rs"
[[example]]
name = "validate"
path = "examples/validate.rs"
[features]
_ui_test = []
default = ["derive", "std"]
derive = ["schemars_derive"]
preserve_order = ["serde_json/preserve_order"]
raw_value = ["serde_json/raw_value"]
std = []
[lib]
name = "schemars"
path = "src/lib.rs"
[package]
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["encoding", "no-std"]
description = "Generate JSON Schemas from Rust code"
edition = "2021"
homepage = "https://graham.cool/schemars/"
keywords = ["rust", "json-schema", "serde"]
license = "MIT"
name = "schemars"
readme = "README.md"
repository = "https://github.com/GREsau/schemars"
rust-version = "1.65"
version = "1.0.0-alpha.15"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--extend-css", "docs-rs-custom.css"]
[[test]]
name = "arrayvec"
path = "tests/arrayvec.rs"
required-features = ["arrayvec07"]
[[test]]
name = "bound"
path = "tests/bound.rs"
[[test]]
name = "bytes"
path = "tests/bytes.rs"
required-features = ["bytes1"]
[[test]]
name = "chrono"
path = "tests/chrono.rs"
required-features = ["chrono04"]
[[test]]
name = "contract"
path = "tests/contract.rs"
[[test]]
name = "crate_alias"
path = "tests/crate_alias.rs"
[[test]]
name = "decimal"
path = "tests/decimal.rs"
required-features = ["rust_decimal1", "bigdecimal04"]
[[test]]
name = "default"
path = "tests/default.rs"
[[test]]
name = "deprecated"
path = "tests/deprecated.rs"
[[test]]
name = "docs"
path = "tests/docs.rs"
[[test]]
name = "either"
path = "tests/either.rs"
required-features = ["either1"]
[[test]]
name = "enum"
path = "tests/enum.rs"
[[test]]
name = "enum_deny_unknown_fields"
path = "tests/enum_deny_unknown_fields.rs"
[[test]]
name = "enum_flatten"
path = "tests/enum_flatten.rs"
[[test]]
name = "enum_repr"
path = "tests/enum_repr.rs"
[[test]]
name = "enumset"
path = "tests/enumset.rs"
required-features = ["enumset1"]
[[test]]
name = "examples"
path = "tests/examples.rs"
[[test]]
name = "extend"
path = "tests/extend.rs"
[[test]]
name = "ffi"
path = "tests/ffi.rs"
required-features = ["std"]
[[test]]
name = "flatten"
path = "tests/flatten.rs"
[[test]]
name = "from_value"
path = "tests/from_value.rs"
[[test]]
name = "garde"
path = "tests/garde.rs"
[[test]]
name = "indexmap"
path = "tests/indexmap.rs"
required-features = ["indexmap2"]
[[test]]
name = "inline_subschemas"
path = "tests/inline_subschemas.rs"
[[test]]
name = "macro"
path = "tests/macro.rs"
[[test]]
name = "no_std"
path = "tests/no_std.rs"
[[test]]
name = "nonzero_ints"
path = "tests/nonzero_ints.rs"
[[test]]
name = "property_name"
path = "tests/property_name.rs"
[[test]]
name = "range"
path = "tests/range.rs"
[[test]]
name = "remote_derive"
path = "tests/remote_derive.rs"
[[test]]
name = "remote_derive_generic"
path = "tests/remote_derive_generic.rs"
[[test]]
name = "result"
path = "tests/result.rs"
[[test]]
name = "same_name"
path = "tests/same_name.rs"
[[test]]
name = "schema_name"
path = "tests/schema_name.rs"
[[test]]
name = "schema_settings"
path = "tests/schema_settings.rs"
[[test]]
name = "schema_with_enum"
path = "tests/schema_with_enum.rs"
[[test]]
name = "schema_with_struct"
path = "tests/schema_with_struct.rs"
[[test]]
name = "semver"
path = "tests/semver.rs"
required-features = ["semver1"]
[[test]]
name = "skip"
path = "tests/skip.rs"
[[test]]
name = "smallvec"
path = "tests/smallvec.rs"
required-features = ["smallvec1"]
[[test]]
name = "smol_str"
path = "tests/smol_str.rs"
required-features = ["smol_str02"]
[[test]]
name = "std_time"
path = "tests/std_time.rs"
required-features = ["std"]
[[test]]
name = "struct"
path = "tests/struct.rs"
[[test]]
name = "struct_additional_properties"
path = "tests/struct_additional_properties.rs"
[[test]]
name = "transform"
path = "tests/transform.rs"
[[test]]
name = "transparent"
path = "tests/transparent.rs"
[[test]]
name = "ui"
path = "tests/ui.rs"
required-features = ["_ui_test"]
[[test]]
name = "url"
path = "tests/url.rs"
required-features = ["url2"]
[[test]]
name = "uuid"
path = "tests/uuid.rs"
required-features = ["uuid1"]
[[test]]
name = "validate"
path = "tests/validate.rs"
[[test]]
name = "validate_inner"
path = "tests/validate_inner.rs"