[package]
name = "paykit"
version = "0.1.0"
edition = "2021"
rust-version = "1.88"
description = "Payment provider abstraction with a Mollie implementation"
repository = "https://github.com/Hofman-Consulting/paykit"
documentation = "https://docs.rs/paykit"
readme = "README.md"
license = "MIT OR Apache-2.0"
keywords = ["payments", "mollie", "payment-gateway", "checkout", "ecommerce"]
categories = ["api-bindings", "web-programming::http-client"]
include = ["src/**", "README.md", "LICENSE-APACHE", "LICENSE-MIT", "CHANGELOG.md"]
[features]
default = ["mollie", "rustls-tls"]
mollie = ["dep:reqwest", "dep:serde_json"]
rustls-tls = ["reqwest?/rustls-tls"]
native-tls = ["reqwest?/native-tls"]
serde = []
[dependencies]
async-trait = "0.1"
thiserror = "2.0"
serde = { version = "1.0", features = ["derive"] }
reqwest = { version = "0.12", default-features = false, features = [
"json",
], optional = true }
serde_json = { version = "1.0", optional = true }
[dev-dependencies]
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
wiremock = "0.6"
proptest = "1"
serde_json = "1.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]