Skip to content

Commit

Permalink
- Release 0.7 (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
jczaja authored Dec 31, 2024
1 parent 4becaeb commit 28a9a29
Show file tree
Hide file tree
Showing 5 changed files with 3,542 additions and 3,511 deletions.
9 changes: 8 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "etradeTaxReturnHelper"
version = "0.6.1"
version = "0.7.0"
edition = "2021"
description = "Parses etrade and revolut financial documents for transaction details (income, tax paid, cost basis) and compute total income and total tax paid according to chosen tax residency (currency)"
license = "BSD-3-Clause"
Expand Down
6 changes: 3 additions & 3 deletions src/bin/gen_exchange_rates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,19 +89,19 @@ fn main() {
match exchange {
Exchange::USD(data) => {
output_content.push_str(&format!(
" exchange_rates.insert(Exchange::USD(\"{}\".to_string()), {});\n",
" exchange_rates.insert(Exchange::USD(\"{}\".to_string()), {}f64);\n",
data, kurs
));
}
Exchange::EUR(data) => {
output_content.push_str(&format!(
" exchange_rates.insert(Exchange::EUR(\"{}\".to_string()), {});\n",
" exchange_rates.insert(Exchange::EUR(\"{}\".to_string()), {}f64);\n",
data, kurs
));
}
Exchange::PLN(data) => {
output_content.push_str(&format!(
" exchange_rates.insert(Exchange::PLN(\"{}\".to_string()), {});\n",
" exchange_rates.insert(Exchange::PLN(\"{}\".to_string()), {}f64);\n",
data, kurs
));
}
Expand Down
1 change: 0 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ use logging::ResultExt;
// TODO: When there is no proxy (on intel account) there are problems (UT do not work
// getting_Exchange_rate)
// TODO: Make a parsing of incomplete date
// TODO: When I sold on Dec there was EST cost (0.04). Make sure it is included in your results
// TODO: async to get currency
// TODO: make UT using rounded vlaues of f32
// TODO: parse_gain_and_losses expect -> ?
Expand Down
Loading

0 comments on commit 28a9a29

Please # to comment.