nbp 0.2.0

A Rust library for accessing the National Bank of Poland's API.
Documentation
# 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 = "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"]