# 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 = "pib-service-api"
version = "0.20.2"
authors = [
    "Politik im Blick developers",
    "Wolfgang Silbermayr <wolfgang@silbermayr.at>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "pib-service edit API"
documentation = "https://docs.rs/pib-service-api"
readme = false
license = "AGPL-3.0-or-later OR EUPL-1.2"
repository = "https://codeberg.org/pib/pib-service"

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

[dependencies.anyhow]
version = "1.0.102"

[dependencies.axum]
version = "0.8.8"

[dependencies.futures-core]
version = "0.3.32"

[dependencies.http]
version = "1.4.0"

[dependencies.log]
version = "0.4.29"

[dependencies.pib-service-api-auth]
version = "0.20.2"

[dependencies.pib-service-api-types]
version = "0.20.2"

[dependencies.pib-service-core-types]
version = "0.20.2"

[dependencies.pib-service-facade]
version = "0.20.2"

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

[dependencies.snafu]
version = "0.9.0"

[dependencies.tokio]
version = "1.51.1"

[dependencies.tower-http]
version = "0.6.8"
features = [
    "auth",
    "cors",
]

[dev-dependencies.axum-test]
version = "20.0.0"

[dev-dependencies.mockall]
version = "0.14.0"

[dev-dependencies.pib-oparl-extensions]
version = "0.20.2"

[dev-dependencies.pib-service-api-auth]
version = "0.20.2"
features = ["mockall"]

[dev-dependencies.pib-service-facade]
version = "0.20.2"
features = ["mockall"]

[dev-dependencies.pretty_assertions]
version = "1.4.1"
features = ["unstable"]
