[package]
edition = "2021"
name = "lcax_validation"
version = "3.4.0"
authors = ["Christian Kongsgaard <christian@kongsgaard.eu>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LCAx is an open, machine and human-readable data format for exchanging LCA results."
homepage = "https://lcax.kongsgaard.eu"
documentation = "https://lcax.kongsgaard.eu"
readme = "README.md"
license-file = "LICENSE"
repository = "https://github.com/ocni-dtu/lcax"
[features]
default = []
jsbindings = [
"wasm-bindgen",
"serde-wasm-bindgen",
"console_error_panic_hook",
"tsify-next",
"lcax_models/jsbindings",
]
pybindings = [
"pyo3",
"pyo3/extension-module",
"lcax_models/pybindings",
]
[lib]
name = "lcax_validation"
crate-type = [
"cdylib",
"rlib",
]
path = "src/lib.rs"
[[bin]]
name = "export-schema"
path = "src/bin/schemars.rs"
test = false
bench = false
[[test]]
name = "test_rules"
path = "tests/test_rules.rs"
[[test]]
name = "test_validate"
path = "tests/test_validate.rs"
[dependencies.console_error_panic_hook]
version = "0.1.7"
optional = true
[dependencies.lcax_models]
version = ">=3.0.0-beta.3"
[dependencies.log]
version = "0.4.27"
[dependencies.pyo3]
version = "0.24"
features = [
"abi3-py310",
"chrono",
]
optional = true
[dependencies.schemars]
version = "0.8.21"
features = ["chrono"]
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde-wasm-bindgen]
version = "0.6.5"
optional = true
[dependencies.serde_json]
version = "1.0.140"
[dependencies.tsify-next]
version = "0.5.5"
optional = true
[dependencies.valitron]
version = "0.5.6"
features = ["full"]
[dependencies.wasm-bindgen]
version = "0.2.100"
optional = true
[dev-dependencies.env_logger]
version = "0.11"
[dev-dependencies.serde_yml]
version = "0.0.12"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(wasm_bindgen_unstable_test_coverage)"]