[[bin]]
name = "avina-api"
path = "src/main.rs"
[dependencies.actix-cors]
version = "0.7.1"
[dependencies.actix-web]
version = "4"
[dependencies.anyhow]
version = "1"
[dependencies.avina-wire]
features = ["sqlx"]
version = "2.1"
[dependencies.chrono]
features = ["serde"]
version = "0.4"
[dependencies.config]
version = "0.15"
[dependencies.indexmap]
version = "2.13"
[dependencies.jzon]
version = "0.12"
[dependencies.reqwest]
default-features = false
features = ["json", "rustls", "cookies"]
version = "0.13"
[dependencies.secrecy]
features = ["serde"]
version = "0.10.3"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde-aux]
version = "4"
[dependencies.serde_json]
version = "1"
[dependencies.sqlx]
default-features = false
features = ["runtime-tokio", "tls-rustls", "macros", "mysql", "uuid", "chrono", "migrate"]
version = "0.8"
[dependencies.strum]
features = ["derive"]
version = "0.27"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"
[dependencies.tracing]
features = ["log"]
version = "0.1"
[dependencies.tracing-actix-web]
version = "0.7"
[dependencies.tracing-bunyan-formatter]
version = "0.3"
[dependencies.tracing-log]
version = "0.2"
[dependencies.tracing-subscriber]
features = ["registry", "env-filter"]
version = "0.3"
[dependencies.uuid]
features = ["v4"]
version = "1.19"
[dev-dependencies.cargo-husky]
default-features = false
features = ["user-hooks"]
version = "1.5"
[dev-dependencies.once_cell]
version = "1"
[dev-dependencies.rand]
version = "0.9"
[dev-dependencies.wiremock]
version = "0.6"
[features]
accounting = ["avina-wire/accounting"]
all = ["accounting", "budgeting", "hello", "pricing", "quota", "resources", "user"]
budgeting = ["avina-wire/budgeting"]
default = ["all"]
hello = ["avina-wire/hello"]
pricing = ["avina-wire/pricing"]
quota = ["avina-wire/quota"]
resources = ["avina-wire/resources"]
user = ["avina-wire/user"]
[lib]
crate-type = ["cdylib", "rlib"]
name = "avina_api"
path = "src/lib.rs"
[package]
authors = ["Sandro-Alessio Gierens <sandro@gierens.de>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming"]
description = "Rust API server for the LRZ-specific features of the Openstack-based LRZ Compute Cloud."
edition = "2024"
exclude = []
homepage = "https://github.com/LRZ-BADW/avina"
license = "MIT"
name = "avina-api"
readme = "README.md"
repository = "https://github.com/LRZ-BADW/avina"
resolver = "2"
version = "1.1.0"
[[test]]
name = "api"
path = "tests/api/main.rs"