[package]
edition = "2024"
rust-version = "1.96"
name = "cloudformation-validate-validation-engine"
version = "1.10.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]
test = []
uniffi-bindings = [
"dep:uniffi",
"schema-validator/uniffi-bindings",
]
wasm-bindings = [
"dep:tsify",
"dep:wasm-bindgen",
"schema-validator/wasm-bindings",
]
[lib]
name = "validation_engine"
path = "src/lib.rs"
[dependencies.data-source]
version = "=1.10.0"
default-features = false
package = "cloudformation-validate-data-source"
[dependencies.diagnostics]
version = "=1.10.0"
package = "cloudformation-validate-diagnostics"
[dependencies.guard-translator]
version = "=1.10.0"
package = "cloudformation-validate-guard-translator"
[dependencies.log]
version = "0.4"
[dependencies.rules]
version = "=1.10.0"
package = "cloudformation-validate-rules"
[dependencies.schema-validator]
version = "=1.10.0"
package = "cloudformation-validate-schema-validator"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.template-model]
version = "=1.10.0"
package = "cloudformation-validate-template-model"
[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"
[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"