versa_semval 0.12.0

Cross-platform module for semantic validation of Versa data
Documentation
# 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"
name = "versa_semval"
version = "0.12.0"
authors = [
    "Versa <support@versa.org>",
    "Thomas Moore <tcmoore@protonmail.com",
]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform module for semantic validation of Versa data"
homepage = "https://versa.org"
documentation = "https://docs.versa.org"
readme = "README.md"
license = "MIT"
repository = "https://github.com/versa-protocol/semval"

[features]
default = ["nodejs"]
nodejs = [
    "dep:napi",
    "dep:napi-derive",
]

[lib]
name = "versa_semval"
crate-type = [
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[dependencies.napi]
version = "3"
features = [
    "napi4",
    "serde-json",
]
optional = true
default-features = false

[dependencies.napi-derive]
version = "3"
optional = true

[dependencies.serde_json]
version = "1.0.140"

[dependencies.versa]
version = "1.9.0-rc1"

[dev-dependencies.pretty_assertions]
version = "1.4.1"

[dev-dependencies.rusty-hook]
version = "^0.11.2"

[build-dependencies.napi-build]
version = "2"

[profile.release]
lto = true
strip = "symbols"