# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.60" name = "apistos-schemars" version = "1.0.0-alpha.2" build = "build.rs" description = "Generate JSON Schemas from Rust code" readme = "README.md" keywords = [ "rust", "json-schema", "serde", ] categories = ["encoding"] license = "MIT" repository = "https://github.com/netwo-io/apistos-schemars" [package.metadata.docs.rs] all-features = true [[test]] name = "ui" required-features = ["ui_test"] [[test]] name = "chrono" required-features = ["chrono04"] [[test]] name = "indexmap" required-features = ["indexmap2"] [[test]] name = "ipnetwork" required-features = ["ipnetwork"] [[test]] name = "either" required-features = ["either1"] [[test]] name = "uuid" required-features = ["uuid1"] [[test]] name = "smallvec" required-features = ["smallvec1"] [[test]] name = "bytes" required-features = ["bytes1"] [[test]] name = "arrayvec" required-features = ["arrayvec07"] [[test]] name = "url" required-features = ["url2"] [[test]] name = "enumset" required-features = ["enumset1"] [[test]] name = "smol_str" required-features = ["smol_str02"] [[test]] name = "semver" required-features = ["semver1"] [[test]] name = "decimal" required-features = [ "rust_decimal1", "bigdecimal04", ] [dependencies.arrayvec07] version = "0.7" optional = true default-features = false package = "arrayvec" [dependencies.bigdecimal04] version = "0.4" optional = true default-features = false package = "bigdecimal" [dependencies.bytes1] version = "1.0" optional = true default-features = false package = "bytes" [dependencies.chrono04] version = "0.4" optional = true default-features = false package = "chrono" [dependencies.dyn-clone] version = "1.0" [dependencies.either1] version = "1.3" optional = true default-features = false package = "either" [dependencies.enumset1] version = "1.0" optional = true default-features = false package = "enumset" [dependencies.indexmap2] version = "2.0" optional = true default-features = false package = "indexmap" [dependencies.ipnetwork] version = "0.20" optional = true [dependencies.ref-cast] version = "1.0.22" [dependencies.rust_decimal1] version = "1" optional = true default-features = false package = "rust_decimal" [dependencies.schemars_derive] version = "=1.0.0-alpha.2" optional = true package = "apistos-schemars_derive" [dependencies.semver1] version = "1.0.9" optional = true default-features = false package = "semver" [dependencies.serde] version = "1.0" [dependencies.serde_json] version = "1.0.25" [dependencies.smallvec1] version = "1.0" optional = true default-features = false package = "smallvec" [dependencies.smol_str02] version = "0.2.1" optional = true default-features = false package = "smol_str" [dependencies.url2] version = "2.0" optional = true default-features = false package = "url" [dependencies.uuid1] version = "1.0" optional = true default-features = false package = "uuid" [dev-dependencies.pretty_assertions] version = "1.2.1" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.trybuild] version = "1.0" [features] default = ["derive"] derive = ["schemars_derive"] preserve_order = ["serde_json/preserve_order"] raw_value = ["serde_json/raw_value"] ui_test = []