# 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 = "revolut"
version = "0.2.2"
authors = ["Rafael Fernández López <ereslibre@curried.software>"]
build = false
exclude = [".env.local"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library to communicate with the Revolut API"
readme = "README.md"
license = "MIT"
repository = "https://github.com/curriedsoftware/revolut"

[features]
default = ["sandbox"]
sandbox = []

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

[[example]]
name = "bank_details"
path = "examples/bank_details.rs"

[[example]]
name = "cancel_order"
path = "examples/cancel_order.rs"

[[example]]
name = "capture_order"
path = "examples/capture_order.rs"

[[example]]
name = "create_business_webhook"
path = "examples/create_business_webhook.rs"

[[example]]
name = "create_merchant_webhook"
path = "examples/create_merchant_webhook.rs"

[[example]]
name = "create_order"
path = "examples/create_order.rs"

[[example]]
name = "delete_business_webhook"
path = "examples/delete_business_webhook.rs"

[[example]]
name = "delete_merchant_webhook"
path = "examples/delete_merchant_webhook.rs"

[[example]]
name = "get_order"
path = "examples/get_order.rs"

[[example]]
name = "list_accounts"
path = "examples/list_accounts.rs"

[[example]]
name = "list_business_webhooks"
path = "examples/list_business_webhooks.rs"

[[example]]
name = "list_merchant_webhooks"
path = "examples/list_merchant_webhooks.rs"

[[example]]
name = "list_orders"
path = "examples/list_orders.rs"

[[example]]
name = "retrieve_access_token"
path = "examples/retrieve_access_token.rs"

[[example]]
name = "update_order"
path = "examples/update_order.rs"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.regress]
version = "0.10"

[dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "multipart",
    "rustls",
]
default-features = false

[dependencies.reqwest-middleware]
version = "0.5"
features = [
    "form",
    "json",
    "multipart",
]
default-features = false

[dependencies.reqwest-retry]
version = "0.9"
default-features = false

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

[dependencies.serde_json]
version = "1"

[dependencies.strum]
version = "0.27"
features = ["derive"]

[dependencies.urlencoding]
version = "2"

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

[dev-dependencies.clap]
version = "4.5.38"
features = ["derive"]

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