any2nix-api 0.1.4

JSON-based server that can be used as an API for translating from different formats to Nix.
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 = "any2nix-api"
version = "0.1.4"
authors = ["Gabriel Santos de Souza <gabriel.santosdesouza@dcomp.ufs.br>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
JSON-based server that can be used as an API for translating from different
formats to Nix.
"""
readme = "README.md"
keywords = [
    "api",
    "converter",
    "http",
    "json",
    "nix",
]
categories = [
    "web-programming",
    "web-programming::http-server",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/gbr-ufs/any2nix"

[features]
default = [
    "ini",
    "json",
    "toml",
    "yaml",
]
full = [
    "ini",
    "json",
    "toml",
    "trace",
    "utoipa",
    "utoipa-swagger-ui",
    "yaml",
]
ini = ["any2nix/ini"]
json = ["any2nix/json"]
toml = ["any2nix/toml"]
trace = [
    "dep:tower-http",
    "dep:tracing",
    "dep:tracing-subscriber",
]
utoipa = [
    "any2nix/utoipa",
    "dep:utoipa",
]
utoipa-swagger-ui = [
    "dep:utoipa-swagger-ui",
    "utoipa",
]
yaml = ["any2nix/yaml"]

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

[[bin]]
name = "any2nix-api"
path = "src/main.rs"

[dependencies.any2nix]
version = "0.1.4"
default-features = false

[dependencies.axum]
version = "0.8.9"

[dependencies.serde]
version = "1.0.229"

[dependencies.tokio]
version = "1.53.1"
features = [
    "macros",
    "rt-multi-thread",
]

[dependencies.tower-http]
version = "0.7.1"
features = ["trace"]
optional = true

[dependencies.tracing]
version = "0.1.44"
optional = true

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]
optional = true

[dependencies.utoipa]
version = "5.5.0"
features = ["axum_extras"]
optional = true

[dependencies.utoipa-swagger-ui]
version = "9.0.2"
features = [
    "axum",
    "debug-embed",
]
optional = true