[package]
edition = "2024"
name = "schema_analysis"
version = "0.6.0"
authors = ["QuartzLibrary"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Analyze the schema of any self describing format"
homepage = "https://schema-analysis.com/"
readme = "README.md"
keywords = [
"schema",
"analysis",
"json",
"xml",
"serde",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/QuartzLibrary/schema_analysis"
[package.metadata.docs.rs]
all-features = true
[features]
cli = [
"json_typegen",
"schemars_integration",
"dep:clap",
"dep:anyhow",
"dep:serde_json",
"dep:serde_yaml",
"dep:serde_cbor",
"dep:toml",
"dep:bson",
"dep:quick-xml",
]
json_typegen = ["dep:json_typegen_shared"]
schemars_integration = [
"dep:schemars",
"dep:serde_json",
]
[lib]
name = "schema_analysis"
path = "src/lib.rs"
[[bin]]
name = "schema_analysis"
path = "src/main.rs"
required-features = ["cli"]
[[test]]
name = "cli"
path = "tests/cli.rs"
[[test]]
name = "other"
path = "tests/other.rs"
[[test]]
name = "source_bson"
path = "tests/source_bson.rs"
[[test]]
name = "source_cbor"
path = "tests/source_cbor.rs"
[[test]]
name = "source_json"
path = "tests/source_json.rs"
[[test]]
name = "source_toml"
path = "tests/source_toml.rs"
[[test]]
name = "source_xml"
path = "tests/source_xml.rs"
[[test]]
name = "source_yaml"
path = "tests/source_yaml.rs"
[[test]]
name = "target_json_schema_json_typegen"
path = "tests/target_json_schema_json_typegen.rs"
[[test]]
name = "target_json_schema_schemars"
path = "tests/target_json_schema_schemars.rs"
[[test]]
name = "target_json_typegen_shape"
path = "tests/target_json_typegen_shape.rs"
[dependencies.anyhow]
version = "1"
optional = true
[dependencies.bson]
version = "2.0"
optional = true
[dependencies.clap]
version = "4"
features = ["derive"]
optional = true
[dependencies.downcast-rs]
version = "1.2"
[dependencies.dyn-clonable]
version = "0.9"
[dependencies.json_typegen_shared]
version = "0.7"
optional = true
default-features = false
[dependencies.once_cell]
version = "1.8"
[dependencies.ordered-float]
version = "3.4"
features = ["serde"]
[dependencies.ordermap]
version = "0.5"
features = ["serde"]
[dependencies.quick-xml]
version = "0.26"
features = ["serialize"]
optional = true
[dependencies.regex]
version = "1.5"
[dependencies.schemars]
version = "0.8"
optional = true
[dependencies.serde]
version = "1.0"
features = ["serde_derive"]
[dependencies.serde_cbor]
version = "0.11"
optional = true
[dependencies.serde_json]
version = "1.0"
optional = true
[dependencies.serde_yaml]
version = "0.9"
optional = true
[dependencies.toml]
version = "0.5"
optional = true
[dev-dependencies.assert_cmd]
version = "2"
[dev-dependencies.bson]
version = "2.0"
[dev-dependencies.linked-hash-map]
version = "0.5"
[dev-dependencies.maplit]
version = "1.0"
[dev-dependencies.predicates]
version = "3"
[dev-dependencies.quick-xml]
version = "0.26"
features = ["serialize"]
[dev-dependencies.serde_cbor]
version = "0.11"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.serde_yaml]
version = "0.9"
[dev-dependencies.toml]
version = "0.5"
[dev-dependencies.version-sync]
version = "0.9"