# 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 = "2021" name = "lrzcc-api" version = "0.5.0" authors = ["Sandro-Alessio Gierens "] build = false exclude = [] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust API server for the LRZ-specific features of the Openstack-based LRZ Compute Cloud." homepage = "https://github.com/LRZ-BADW/lrzcc" readme = "README.md" categories = ["web-programming"] license = "MIT" repository = "https://github.com/LRZ-BADW/lrzcc" [lib] name = "lrzcc_api" crate-type = [ "cdylib", "rlib", ] path = "src/lib.rs" [[bin]] name = "lrzcc-api" path = "src/main.rs" [[test]] name = "api" path = "tests/api/main.rs" [dependencies.actix-web] version = "4" [dependencies.anyhow] version = "1" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.config] version = "0.14" [dependencies.jzon] version = "0.12" [dependencies.lrzcc-wire] version = "1.4" [dependencies.reqwest] version = "0.12" features = [ "json", "rustls-tls", "cookies", ] default-features = false [dependencies.secrecy] version = "0.10.3" features = ["serde"] [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde-aux] version = "4" [dependencies.serde_json] version = "1" [dependencies.sqlx] version = "0.8" features = [ "runtime-tokio", "tls-rustls", "macros", "mysql", "uuid", "chrono", "migrate", ] default-features = false [dependencies.thiserror] version = "2.0" [dependencies.tokio] version = "1" features = [ "macros", "rt-multi-thread", ] [dependencies.tracing] version = "0.1" features = ["log"] [dependencies.tracing-actix-web] version = "0.7" [dependencies.tracing-bunyan-formatter] version = "0.3" [dependencies.tracing-log] version = "0.2" [dependencies.tracing-subscriber] version = "0.3" features = [ "registry", "env-filter", ] [dev-dependencies.cargo-husky] version = "1.5" features = ["user-hooks"] default-features = false [dev-dependencies.once_cell] version = "1" [dev-dependencies.rand] version = "0.8" [dev-dependencies.wiremock] version = "0.6" [features] accounting = ["lrzcc-wire/accounting"] all = [ "accounting", "budgeting", "hello", "pricing", "quota", "resources", "user", ] budgeting = ["lrzcc-wire/budgeting"] default = ["all"] hello = ["lrzcc-wire/hello"] pricing = ["lrzcc-wire/pricing"] quota = ["lrzcc-wire/quota"] resources = ["lrzcc-wire/resources"] user = ["lrzcc-wire/user"]