Add info about cache location to README.md

This commit is contained in:
Mateusz Słodkowicz 2024-03-20 00:17:30 +01:00 committed by GitHub
parent 62ba979598
commit 0447e9edd2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,8 @@ Options:
-L, --list-rates <currency> List exchange rate for currency
-h, --help Print help
```
Cache and api key is stored by default in `<TMPDIR>/currencyCache.db`. This location and filename can be overriden by setting up `CURRENCY_CACHE` env variable.
## Build
Needs rust and cargo, build tested on rust v1.76.0\
To build run command