[package]
edition = "2024"
name = "nbp"
version = "0.2.0"
authors = ["compiled.pl <contact@compiled.pl>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for accessing the National Bank of Poland's API."
homepage = "https://github.com/compiledpl/nbp"
readme = "README.md"
keywords = [
"nbp",
"api",
"finance",
"currency",
"poland",
]
categories = [
"finance",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/compiledpl/nbp"
[lib]
name = "nbp"
path = "src/lib.rs"
[[test]]
name = "exchage_rates"
path = "tests/exchage_rates.rs"
[[test]]
name = "gold_prices"
path = "tests/gold_prices.rs"
[dependencies.chrono]
version = "0.4.41"
features = ["serde"]
[dependencies.reqwest]
version = "0.12.19"
features = ["json"]
[dependencies.serde]
version = "1.0.219"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.141"
[dependencies.thiserror]
version = "2.0.12"
[dependencies.url]
version = "2.5.4"
[dev-dependencies.tokio]
version = "1.45.1"
features = ["full"]