# 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 = "omena-napi"
version = "0.1.14"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Node native bindings for Omena CSS parser and transform checks"
readme = "README.md"
keywords = [
    "omena",
    "css",
    "parser",
    "analysis",
]
categories = [
    "development-tools",
    "parser-implementations",
]
license = "MIT"
repository = "https://github.com/omenien/omena-css"
resolver = "2"

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

[dependencies.napi]
version = "3.8.6"

[dependencies.napi-derive]
version = "3.5.5"

[dependencies.omena-query]
version = "0.1.14"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]

[lints.clippy]
dbg_macro = "warn"
expect_used = "warn"
panic = "warn"
todo = "warn"
unwrap_used = "warn"

[lints.rust]
unsafe_code = "deny"
