# 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 = "aip-193"
version = "0.1.4"
authors = ["AprilNEA <github@sku.moe>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust implementation of Google AIP-193 Errors."
readme = false
license = "MIT or Apache-2.0"
repository = "https://github.com/AprilNEA/aip"
resolver = "2"

[features]
axum = [
    "dep:axum-core",
    "dep:serde_json",
    "http",
]
default = []
derive = ["aip-193-derive"]
http = ["dep:http"]

[lib]
name = "aip_193"
path = "src/lib.rs"

[[test]]
name = "integration_tests"
path = "tests/integration_tests.rs"

[dependencies.aip-193-derive]
version = "0.1.2"
optional = true

[dependencies.axum-core]
version = "0.5"
optional = true

[dependencies.http]
version = "1.0"
optional = true

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

[dependencies.serde_json]
version = "1.0"
optional = true

[dependencies.strum]
version = "0.26"
features = ["derive"]

[dev-dependencies.http]
version = "1.0"

[dev-dependencies.serde_json]
version = "1.0"
