From d2a255ad2e6b34661b2510d9bf0d36abc4d817ad Mon Sep 17 00:00:00 2001 From: scoobybejesus Date: Thu, 19 Oct 2023 17:17:51 -0400 Subject: [PATCH] Change edition. Update copyright year. --- Cargo.lock | 4 ++-- Cargo.toml | 4 ++-- LEGAL.txt | 2 +- crptls/Cargo.toml | 4 ++-- crptls/LEGAL.txt | 2 +- crptls/src/account.rs | 2 +- crptls/src/core_functions.rs | 2 +- crptls/src/costing_method.rs | 2 +- crptls/src/create_lots_mvmts.rs | 2 +- crptls/src/csv_import_accts_txns.rs | 2 +- crptls/src/decimal_utils.rs | 2 +- crptls/src/import_cost_proceeds_etc.rs | 2 +- crptls/src/lib.rs | 2 +- crptls/src/tests/mod.rs | 2 +- crptls/src/tests/test.rs | 2 +- crptls/src/transaction.rs | 2 +- src/cli_user_choices.rs | 2 +- src/export/export_all.rs | 2 +- src/export/export_csv.rs | 2 +- src/export/export_je.rs | 2 +- src/export/export_txt.rs | 2 +- src/export/mod.rs | 2 +- src/main.rs | 2 +- src/mytui/app.rs | 2 +- src/mytui/event.rs | 2 +- src/mytui/mod.rs | 2 +- src/mytui/print_menu_tui.rs | 2 +- src/mytui/ui.rs | 2 +- src/setup.rs | 2 +- src/skip_wizard.rs | 2 +- src/wizard.rs | 2 +- 31 files changed, 34 insertions(+), 34 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4b462b5..09ae846 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -250,7 +250,7 @@ checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" [[package]] name = "crptls" -version = "0.2.1" +version = "0.2.2" dependencies = [ "chrono", "csv", @@ -263,7 +263,7 @@ dependencies = [ [[package]] name = "cryptools" -version = "0.12.1" +version = "0.12.2" dependencies = [ "chrono", "crptls", diff --git a/Cargo.toml b/Cargo.toml index 8b3a20a..1e5c95f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "cryptools" -version = "0.12.1" +version = "0.12.2" authors = ["scoobybejesus "] -edition = "2018" +edition = "2021" description = "Command-line utility for processing cryptocurrency transactions into 'lots' and 'movements'." [features] diff --git a/LEGAL.txt b/LEGAL.txt index 96522d8..59ee76e 100644 --- a/LEGAL.txt +++ b/LEGAL.txt @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // // All rights reserved. // diff --git a/crptls/Cargo.toml b/crptls/Cargo.toml index c8e40fc..fca8d52 100644 --- a/crptls/Cargo.toml +++ b/crptls/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "crptls" -version = "0.2.1" +version = "0.2.2" authors = ["scoobybejesus "] -edition = "2018" +edition = "2021" [dependencies] rust_decimal = "1.32" diff --git a/crptls/LEGAL.txt b/crptls/LEGAL.txt index 96522d8..59ee76e 100644 --- a/crptls/LEGAL.txt +++ b/crptls/LEGAL.txt @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // // All rights reserved. // diff --git a/crptls/src/account.rs b/crptls/src/account.rs index cebfede..037f264 100644 --- a/crptls/src/account.rs +++ b/crptls/src/account.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::rc::{Rc, Weak}; diff --git a/crptls/src/core_functions.rs b/crptls/src/core_functions.rs index c0fb0e1..8bab78f 100644 --- a/crptls/src/core_functions.rs +++ b/crptls/src/core_functions.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::path::PathBuf; diff --git a/crptls/src/costing_method.rs b/crptls/src/costing_method.rs index 443e1cb..57f112e 100644 --- a/crptls/src/costing_method.rs +++ b/crptls/src/costing_method.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::fmt; diff --git a/crptls/src/create_lots_mvmts.rs b/crptls/src/create_lots_mvmts.rs index 105618b..cb4b409 100644 --- a/crptls/src/create_lots_mvmts.rs +++ b/crptls/src/create_lots_mvmts.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::rc::Rc; diff --git a/crptls/src/csv_import_accts_txns.rs b/crptls/src/csv_import_accts_txns.rs index fb2f00a..6e9f91a 100644 --- a/crptls/src/csv_import_accts_txns.rs +++ b/crptls/src/csv_import_accts_txns.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::error::Error; diff --git a/crptls/src/decimal_utils.rs b/crptls/src/decimal_utils.rs index 4a5246b..2911000 100644 --- a/crptls/src/decimal_utils.rs +++ b/crptls/src/decimal_utils.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use rust_decimal::Decimal; diff --git a/crptls/src/import_cost_proceeds_etc.rs b/crptls/src/import_cost_proceeds_etc.rs index 94753ba..3bba681 100644 --- a/crptls/src/import_cost_proceeds_etc.rs +++ b/crptls/src/import_cost_proceeds_etc.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::collections::HashMap; diff --git a/crptls/src/lib.rs b/crptls/src/lib.rs index dcd44cb..3d189ad 100644 --- a/crptls/src/lib.rs +++ b/crptls/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt #![allow(dead_code)] diff --git a/crptls/src/tests/mod.rs b/crptls/src/tests/mod.rs index 9f0fef6..695c662 100644 --- a/crptls/src/tests/mod.rs +++ b/crptls/src/tests/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2019, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt pub mod test; diff --git a/crptls/src/tests/test.rs b/crptls/src/tests/test.rs index 41e2099..b247bcb 100644 --- a/crptls/src/tests/test.rs +++ b/crptls/src/tests/test.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::fs; diff --git a/crptls/src/transaction.rs b/crptls/src/transaction.rs index f182e58..88fc72c 100644 --- a/crptls/src/transaction.rs +++ b/crptls/src/transaction.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::rc::Rc; diff --git a/src/cli_user_choices.rs b/src/cli_user_choices.rs index 1875989..0dfeb4b 100644 --- a/src/cli_user_choices.rs +++ b/src/cli_user_choices.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::error::Error; diff --git a/src/export/export_all.rs b/src/export/export_all.rs index e9dc2de..bb59cda 100644 --- a/src/export/export_all.rs +++ b/src/export/export_all.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::error::Error; diff --git a/src/export/export_csv.rs b/src/export/export_csv.rs index 5488f6d..4a4df7b 100644 --- a/src/export/export_csv.rs +++ b/src/export/export_csv.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus; +// Copyright (c) 2017-2023, scoobybejesus; // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::fs::File; diff --git a/src/export/export_je.rs b/src/export/export_je.rs index a1bd0fc..ad03c8e 100644 --- a/src/export/export_je.rs +++ b/src/export/export_je.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::fs::OpenOptions; diff --git a/src/export/export_txt.rs b/src/export/export_txt.rs index 7d7ca76..d1ec8d2 100644 --- a/src/export/export_txt.rs +++ b/src/export/export_txt.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::fs::OpenOptions; diff --git a/src/export/mod.rs b/src/export/mod.rs index 479dc8f..2bdd481 100644 --- a/src/export/mod.rs +++ b/src/export/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt pub mod export_all; diff --git a/src/main.rs b/src/main.rs index c28eb43..08a2dd8 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt // #![allow(dead_code)] diff --git a/src/mytui/app.rs b/src/mytui/app.rs index 7ab42bb..42650a1 100644 --- a/src/mytui/app.rs +++ b/src/mytui/app.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::error::Error; diff --git a/src/mytui/event.rs b/src/mytui/event.rs index e2ddbef..3c0b896 100644 --- a/src/mytui/event.rs +++ b/src/mytui/event.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt // TODO: cite source? diff --git a/src/mytui/mod.rs b/src/mytui/mod.rs index 6f855e9..b46dfa4 100644 --- a/src/mytui/mod.rs +++ b/src/mytui/mod.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt pub mod print_menu_tui; diff --git a/src/mytui/print_menu_tui.rs b/src/mytui/print_menu_tui.rs index ad05220..7ddc289 100644 --- a/src/mytui/print_menu_tui.rs +++ b/src/mytui/print_menu_tui.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::io; diff --git a/src/mytui/ui.rs b/src/mytui/ui.rs index 22b6cc3..dacaa57 100644 --- a/src/mytui/ui.rs +++ b/src/mytui/ui.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::io; diff --git a/src/setup.rs b/src/setup.rs index bb716a2..7108d9c 100644 --- a/src/setup.rs +++ b/src/setup.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::path::PathBuf; diff --git a/src/skip_wizard.rs b/src/skip_wizard.rs index 12ed869..940f4fd 100644 --- a/src/skip_wizard.rs +++ b/src/skip_wizard.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::path::PathBuf; diff --git a/src/wizard.rs b/src/wizard.rs index 3d35a2b..33af1e0 100644 --- a/src/wizard.rs +++ b/src/wizard.rs @@ -1,4 +1,4 @@ -// Copyright (c) 2017-2020, scoobybejesus +// Copyright (c) 2017-2023, scoobybejesus // Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::error::Error;