# 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"
rust-version = "1.82"
name = "sumup"
version = "0.5.9"
authors = ["Matous Dzivjak <matous.dzivjak@sumup.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust SDK for the SumUp API."
documentation = "https://docs.rs/sumup"
readme = "README.md"
categories = [
    "api-bindings",
    "finance",
]
license = "Apache-2.0"
repository = "https://github.com/sumup/sumup-rs"

[features]
chrono = ["dep:chrono"]
default = ["chrono"]
jiff = ["dep:jiff"]

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

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

[dependencies.chrono]
version = "0.4"
features = ["serde"]
optional = true
default-features = false

[dependencies.jiff]
version = "0.2"
features = ["serde"]
optional = true
default-features = false

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "query",
    "default-tls",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dev-dependencies.axum]
version = "0.8.8"

[dev-dependencies.axum-extra]
version = "0.12.5"
features = ["cookie"]

[dev-dependencies.oauth2]
version = "5.0.0"
features = [
    "reqwest",
    "rustls-tls",
]
default-features = false

[dev-dependencies.serial_test]
version = "3.4"

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.uuid]
version = "1.23"
features = [
    "serde",
    "v4",
]

[dev-dependencies.wiremock]
version = "0.6"
