# 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 = "aviso-ecpds"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "ECPDS destination authorization plugin for aviso-server."
homepage = "https://github.com/ecmwf/aviso-server"
documentation = "https://docs.rs/aviso-ecpds"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/ecmwf/aviso-server"

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

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

[dependencies.futures]
version = "0.3"

[dependencies.moka]
version = "0.12"
features = ["future"]

[dependencies.reqwest]
version = "0.12"
features = [
    "json",
    "rustls-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "sync",
    "time",
    "rt",
]

[dependencies.tracing]
version = "0.1"

[dependencies.url]
version = "2"

[dev-dependencies.mockito]
version = "1"

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