[package]
edition = "2024"
rust-version = "1.96"
name = "cloudformation-validate-template-model"
version = "1.15.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AWS CloudFormation Validate"
readme = "README.md"
keywords = [
"aws",
"cloudformation",
"lint",
"template",
"validate",
]
categories = [
"development-tools",
"development-tools::testing",
"parser-implementations",
"config",
]
license = "Apache-2.0"
repository = "https://github.com/aws-cloudformation/cloudformation-validate"
resolver = "2"
[features]
uniffi-bindings = ["dep:uniffi"]
wasm-bindings = [
"dep:tsify",
"dep:wasm-bindgen",
]
[lib]
name = "template_model"
path = "src/lib.rs"
[[example]]
name = "inspect"
path = "src/inspect.rs"
[[test]]
name = "integration"
path = "tests/integration.rs"
[[test]]
name = "sample_templates"
path = "tests/sample_templates.rs"
[dependencies.base64]
version = "0.22"
[dependencies.fancy-regex]
version = "0.18"
[dependencies.ipnetwork]
version = "0.21.1"
[dependencies.log]
version = "0.4"
[dependencies.regex]
version = "1"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
features = [
"arbitrary_precision",
"preserve_order",
]
[dependencies.tsify]
version = "0.5"
features = ["js"]
optional = true
[dependencies.uniffi]
version = "=0.32.0"
optional = true
[dependencies.wasm-bindgen]
version = "0.2"
optional = true
[dependencies.web-time]
version = "1"
[dependencies.yaml-rust2]
version = "0.11.0"
[dev-dependencies.env_logger]
version = "0.11"
[lints.clippy]
approx_constant = "allow"
len_without_is_empty = "allow"
multiple_crate_versions = "allow"
new_without_default = "allow"
too_many_arguments = "allow"
type_complexity = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "deny"
priority = -1
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.clippy.nursery]
level = "allow"
priority = -1
[lints.clippy.pedantic]
level = "allow"
priority = -1
[lints.clippy.perf]
level = "deny"
priority = -1
[lints.clippy.restriction]
level = "allow"
priority = -1
[lints.clippy.style]
level = "deny"
priority = -1
[lints.clippy.suspicious]
level = "deny"
priority = -1
[lints.rust]
unsafe_code = "forbid"