[package]
name = "revolut"
version = "0.2.2"
authors = ["Rafael Fernández López <ereslibre@curried.software>"]
edition = "2024"
license = "MIT"
description = "A library to communicate with the Revolut API"
repository = "https://github.com/curriedsoftware/revolut"
exclude = [".env.local"]

[features]
default = ["sandbox"]

# Sandbox enables certain API capabilities that are only available in the sandbox environment. For example:
# - https://developer.revolut.com/docs/guides/manage-accounts/api-usage-and-testing/test-flows-with-simulations
sandbox = []

[dev-dependencies]
clap = { version = "4.5.38", features = ["derive"] }
tokio = { version = "1.44", features = ["full"] }

[dependencies]
chrono = { version = "0.4", features = ["serde"] }
urlencoding = "2"
regress = "0.10"
reqwest = { version = "0.13", default-features = false, features = ["json", "multipart", "rustls"] }
reqwest-middleware = { version = "0.5", default-features = false, features = ["form", "json", "multipart"] }
reqwest-retry = { version = "0.9", default-features = false }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
strum = { version = "0.27", features = ["derive"] }
uuid = { version = "1", features = ["serde"] }
