[package]
edition = "2024"
rust-version = "1.93"
name = "json-schema-rs"
version = "0.0.6"
authors = ["Todd Everett Griffin <tgriffin115@gmail.com>"]
build = false
exclude = [
".idea/*",
".github/*",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library to generate Rust structs from JSON Schema."
homepage = "https://www.toddgriffin.me/"
readme = "README.md"
keywords = [
"json",
"schema",
"json-schema",
"rust",
"structs",
]
categories = ["parsing"]
license-file = "LICENSE"
repository = "https://github.com/goddtriffin/json-schema-rs"
resolver = "2"
[features]
uuid = ["dep:uuid"]
[lib]
name = "json_schema_rs"
path = "src/lib.rs"
[[bin]]
name = "jsonschemars"
path = "src/main.rs"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "json_schema_test_suite"
path = "tests/json_schema_test_suite.rs"
[dependencies.clap]
version = "4"
features = ["derive"]
[dependencies.heck]
version = "0.5"
[dependencies.regress]
version = "0.10"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.uuid]
version = "1.20.0"
features = [
"serde",
"v4",
]
optional = true
[dev-dependencies.tempfile]
version = "3"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.allow_attributes]
level = "forbid"
priority = 1
[lints.clippy.cargo]
level = "deny"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.multiple_crate_versions]
level = "allow"
priority = 1
[lints.clippy.nursery]
level = "allow"
priority = 0
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust.unfulfilled_lint_expectations]
level = "forbid"
priority = 1
[lints.rust.unsafe_code]
level = "forbid"
priority = 0
[lints.rust.unused]
level = "deny"
priority = -1