- Setting up
- to run tests
cargo test
- To build docs
cargo doc
- to build project
cargo build
- to run
RUST_LOG=task cargo run
- To set environment variables in ~/.bashrc
- export API_URL=https://api.currencybeacon.com - export API_KEY= /* Token you found in the 'API Token Information' section */
- Log in through github on https://currencybeacon.com/login, then in the 'API Token Information' section on https://currencybeacon.com/account/dashboard You can find token.
- to run tests
- Docker
- Building image
sudo docker build -t app --build-arg API_KEY=$API_KEY --build-arg API_URL=$API_URL .
- Running docker container
sudo docker run -it app
- Building image
Shibbaz/CurrencyExchange-RS
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Simple command line app in Rust to show currency list, rates list and exchange amount
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published