lucre 0.13.0

An ergonomic library for handling money.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Exchange rates between currencies, and tables of them.
//!
//! No rates are built in, because rates change constantly. [`ExchangeRate`]
//! holds a rate you supply, and [`Exchange`] holds a set of them to look up
//! by currency pair.

mod rate;
mod table;

pub use rate::{
    ConvertError, CrossRateError, ExchangeRate, ExchangeRateError, InvertError, Pair,
    ParsePairError, Side,
};
pub use table::{Exchange, ExchangeError, IntoRates, Pairs, Rates};