# 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 = "nginx-lint-plugin"
version = "0.16.0"
authors = ["walf443"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Plugin SDK for nginx-lint"
readme = "README.md"
license = "MIT"
repository = "https://github.com/walf443/nginx-lint"
resolver = "2"

[features]
container-testing = [
    "testcontainers",
    "reqwest",
    "tokio",
]
wit-export = ["wit-bindgen"]

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

[dependencies.nginx-lint-common]
version = "0.16.0"

[dependencies.reqwest]
version = "0.13"
optional = true

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

[dependencies.serde_json]
version = "1"

[dependencies.testcontainers]
version = "0.27"
features = ["http_wait"]
optional = true

[dependencies.tokio]
version = "1"
features = ["time"]
optional = true

[dependencies.wit-bindgen]
version = "0.58.0"
optional = true
