mirror of
https://github.com/lov3b/ecb-rates.git
synced 2025-12-20 03:10:38 +01:00
Update dependencies, fix a spelling mistake, set license field and bump package-version
This commit is contained in:
897
Cargo.lock
generated
897
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
21
Cargo.toml
21
Cargo.toml
@@ -1,9 +1,10 @@
|
||||
[package]
|
||||
name = "ecb-rates"
|
||||
description = "Query exchange rates from the European Central Bank (ECB)"
|
||||
version = "1.0.0"
|
||||
version = "1.0.1"
|
||||
edition = "2021"
|
||||
authors = ["Love Billenius <lovebillenius@disroot.org>"]
|
||||
license = "Zlib"
|
||||
license-file = "LICENSE"
|
||||
keywords = [
|
||||
"ECB",
|
||||
@@ -25,12 +26,12 @@ name = "ecb-rates"
|
||||
path = "src/main.rs"
|
||||
|
||||
[dependencies]
|
||||
anyhow = "1.0.95"
|
||||
chrono = { version = "0.4.39", features = ["serde"] }
|
||||
clap = { version = "4.5.23", features = ["derive"] }
|
||||
colored = "3.0.0"
|
||||
quick-xml = { version = "0.37.2", features = ["async-tokio", "tokio"] }
|
||||
reqwest = "0.12.12"
|
||||
serde = { version = "1.0.217", features = ["derive"] }
|
||||
serde_json = "1.0.134"
|
||||
tokio = { version = "1.42.0", features = ["macros"] }
|
||||
anyhow = "1.0"
|
||||
chrono = { version = "0.4", features = ["serde"] }
|
||||
clap = { version = "4.5", features = ["derive"] }
|
||||
colored = "3.0"
|
||||
quick-xml = { version = "0.38", features = ["async-tokio", "tokio"] }
|
||||
reqwest = "0.12"
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
tokio = { version = "1.48", features = ["macros"] }
|
||||
|
||||
10
README.md
10
README.md
@@ -7,7 +7,7 @@
|
||||
alt="European Central Bank Logo"
|
||||
align="left"
|
||||
/>
|
||||
A CLI utility to fetch exchange reates from the European Central Bank.
|
||||
A CLI utility to fetch exchange rates from the European Central Bank.
|
||||
<br />
|
||||
<br />
|
||||
<br />
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
### Binary
|
||||
|
||||
If you're on Debian Linux, then just go over to the releases, and install the latest *.deb* package with `dpkg`
|
||||
If you're on Debian Linux, then just go over to the releases, and install the latest _.deb_ package with `dpkg`
|
||||
|
||||
### Source
|
||||
|
||||
@@ -43,7 +43,7 @@ It will fetch any of the following api nodes, and reduce them for you.
|
||||
|
||||
- Last available day.
|
||||
- Last 90 days
|
||||
- Since the dawn of the *EUR*
|
||||
- Since the dawn of the _EUR_
|
||||
|
||||
#### Display select currencies
|
||||
|
||||
@@ -59,11 +59,11 @@ It features an extensive cache, which will [calculate hollidays](src/holiday.rs)
|
||||
|
||||
Change the rates for the perspective of any currency with the `--perspective` or `-p` flag.
|
||||
|
||||
Flip it from `EUR to ALL` to `ALL to EUR` with the `--invert` or `-i` flag. It will work as expected with the *perspective* option.
|
||||
Flip it from `EUR to ALL` to `ALL to EUR` with the `--invert` or `-i` flag. It will work as expected with the _perspective_ option.
|
||||
|
||||
#### Fast
|
||||
|
||||
It wouldn't be a rust project without being *BLAZINGLY FAST*! When the cache is valid a single day will on my computer be shown in 3 ms. When the cache isn't being used it will be ~90ms. The cache speed will largely depend on your drive, the latter will depend on your network speed. Both options are fast enought to be in a `.bashrc` or `.zshrc`
|
||||
It wouldn't be a rust project without being _BLAZINGLY FAST_! When the cache is valid a single day will on my computer be shown in 3 ms. When the cache isn't being used it will be ~90ms. The cache speed will largely depend on your drive, the latter will depend on your network speed. Both options are fast enought to be in a `.bashrc` or `.zshrc`
|
||||
|
||||
### Examples
|
||||
|
||||
|
||||
Reference in New Issue
Block a user