Cashify 💸
Lightweight currency conversion library.
This Rust crate is a port of the Cashify npm package from the same author. API is not the same.
Documentation
Installation
Simply add the corresponding entry to your Cargo.toml
dependency list:
[]
= "0.1"
Usage
The following example uses Serde JSON as strongly typed data structures. Instead of manually specifying rates, you can obtain them from an API, like Exchange Rates API.
use HashMap;
use ;
use Result;
use ;
Roadmap
The goal is to try and implement as much features from the original Cashify as possible.
-
convert
Function - Constructor
- Parsing
Related projects
License
MIT