# 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 = "2024"
rust-version = "1.95"
name = "mif-schema"
version = "0.6.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JSON Schema validation for the MIF (Modeled Information Format) ecosystem"
homepage = "https://mif-spec.dev"
readme = "README.md"
keywords = [
    "mif",
    "json-schema",
    "validation",
]
categories = [
    "data-structures",
    "encoding",
]
license = "MIT"
repository = "https://github.com/modeled-information-format/mif-rs"

[lib]
name = "mif_schema"
path = "src/lib.rs"

[dependencies.jsonschema]
version = "0.46.9"
default-features = false

[dependencies.mif-core]
version = "0.6.1"

[dependencies.mif-problem]
version = "0.6.1"

[dependencies.serde_json]
version = "1.0.150"
features = ["preserve_order"]

[dependencies.thiserror]
version = "2.0.18"

[lints.clippy]
dbg_macro = "deny"
expect_used = "deny"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
multiple_crate_versions = "allow"
must_use_candidate = "allow"
panic = "deny"
print_stderr = "deny"
print_stdout = "deny"
redundant_pub_crate = "allow"
todo = "deny"
unimplemented = "deny"
unwrap_used = "deny"

[lints.clippy.all]
level = "warn"
priority = -1

[lints.clippy.cargo]
level = "warn"
priority = -1

[lints.clippy.nursery]
level = "warn"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "warn"
unsafe_code = "forbid"

[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1
