rename view

This commit is contained in:
2025-01-09 14:11:46 +01:00
parent 5f3a075580
commit 65ad88acae
3 changed files with 35 additions and 28 deletions

View File

@@ -16,15 +16,21 @@ Congratulations! Now the cli binary `ecb-rates` will be in your cargo bin folder
## Features
- Fetch and display select currencies:
- as an ASCII table
- in JSON prettified
- in JSON minified
- Fetch in different "resolutions":
- Last available day.
- Since the dawn of the *EUR*
- in day resolution
- in 90 day resolution
#### Fetch in different views
- Last available day.
- Last 90 days
- Since the dawn of the *EUR*
#### Display select currencies
- as an ASCII table
- in JSON prettified
- in JSON minified
#### Cache
It features an extensive cache, which will [calculate hollidays](src/holiday.rs) in order to know whether to invalidate it or not.
### Example
@@ -43,4 +49,4 @@ NOK 11.7385
## Acknowledgment
The data is (obviously) provided by the [European Central Bank](https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html)
The data is (obviously) provided by the [European Central Bank](https://www.ecb.europa.eu/stats/policy_and_exchange_rates/euro_reference_exchange_rates/html/index.en.html)