From 46b764df3a5929cf32a4c78401283d8603e2dc53 Mon Sep 17 00:00:00 2001 From: scoobybejesus Date: Fri, 20 Sep 2019 20:27:13 -0400 Subject: [PATCH] To change the name to drop the -rs. --- Cargo.toml | 2 +- README.md | 12 ++++++------ examples/examples.md | 4 ++-- src/account.rs | 2 +- src/cli_user_choices.rs | 2 +- src/core_functions.rs | 2 +- src/create_lots_mvmts.rs | 2 +- src/csv_export.rs | 2 +- src/csv_import_accts_txns.rs | 2 +- src/decimal_utils.rs | 2 +- src/import_cost_proceeds_etc.rs | 2 +- src/main.rs | 6 +++--- src/string_utils.rs | 2 +- src/tests/mod.rs | 2 +- src/tests/test.rs | 2 +- src/transaction.rs | 2 +- src/txt_export.rs | 2 +- 17 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6ed36d4..5e440b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "cryptools-rs" +name = "cryptools" version = "0.6.0" authors = ["scoobybejesus "] edition = "2018" diff --git a/README.md b/README.md index 7194f05..cd9ec40 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# cryptools-rs +# cryptools ### Accounting library for cryptocurrency transaction activity. @@ -138,16 +138,16 @@ Until you sell, it's simply an unrealized loss. 1. `cargo build` (or include `--release` for a non-debug build) -This will build `./target/debug/cryptools-rs` (or `./target/rls/cryptools-rs` for a non-debug build). +This will build `./target/debug/cryptools` (or `./target/rls/cryptools` for a non-debug build). ## Usage -Run `./target/debug/cryptools-rs` with no arguments (or `--help`, or `-h`) to see usage. -Alternatively, run `cargo run`, in which case command-line arguments for `cryptools-rs` may be entered following `--`, e.g., `cargo run -- -h`. +Run `./target/debug/cryptools` with no arguments (or `--help`, or `-h`) to see usage. +Alternatively, run `cargo run`, in which case command-line arguments for `cryptools` may be entered following `--`, e.g., `cargo run -- -h`. Running with no arguments will lead the user through a wizard, or all required arguments can be passed as command-line flags/options/args. See `/examples/` directory for further guidance, -or jump directly to the [examples.md](https://github.com/scoobybejesus/cryptools-rs/blob/master/examples/examples.md) file. +or jump directly to the [examples.md](https://github.com/scoobybejesus/cryptools/blob/master/examples/examples.md) file. ## Development state @@ -160,7 +160,7 @@ In fact, it may be nice to use the business logic as a library instead of runnin * Contributors welcome. New authors should add themselves to the `AUTHORS` file. -* Roadmap and todos: we're working through items in [Issues](https://github.com/scoobybejesus/cryptools-rs/issues); feel free to tackle or add issues. +* Roadmap and todos: we're working through items in [Issues](https://github.com/scoobybejesus/cryptools/issues); feel free to tackle or add issues. ## Legal diff --git a/examples/examples.md b/examples/examples.md index e46b6eb..57eb4dc 100644 --- a/examples/examples.md +++ b/examples/examples.md @@ -1,10 +1,10 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt --- -# Examples for using cryptools-rs +# Examples for using cryptools The sample input files and the resulting reports are in the `/examples/resources/` directory. diff --git a/src/account.rs b/src/account.rs index 59c6d6d..bd663c9 100644 --- a/src/account.rs +++ b/src/account.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::rc::{Rc, Weak}; use std::cell::{Cell, RefCell}; diff --git a/src/cli_user_choices.rs b/src/cli_user_choices.rs index 712f2cd..5c5654f 100644 --- a/src/cli_user_choices.rs +++ b/src/cli_user_choices.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::error::Error; use std::io::{self, BufRead}; diff --git a/src/core_functions.rs b/src/core_functions.rs index d32d672..7d8b4a5 100644 --- a/src/core_functions.rs +++ b/src/core_functions.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::path::PathBuf; use std::error::Error; diff --git a/src/create_lots_mvmts.rs b/src/create_lots_mvmts.rs index 2c63f05..e34471c 100644 --- a/src/create_lots_mvmts.rs +++ b/src/create_lots_mvmts.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::rc::{Rc}; use std::cell::{RefCell, Ref, Cell}; diff --git a/src/csv_export.rs b/src/csv_export.rs index 1acec58..cd4d510 100644 --- a/src/csv_export.rs +++ b/src/csv_export.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::fs::File; use std::collections::{HashMap}; diff --git a/src/csv_import_accts_txns.rs b/src/csv_import_accts_txns.rs index ff3850e..2ca2aed 100644 --- a/src/csv_import_accts_txns.rs +++ b/src/csv_import_accts_txns.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::error::Error; use std::process; diff --git a/src/decimal_utils.rs b/src/decimal_utils.rs index 37c9a0d..ce40c25 100644 --- a/src/decimal_utils.rs +++ b/src/decimal_utils.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use decimal::d128; diff --git a/src/import_cost_proceeds_etc.rs b/src/import_cost_proceeds_etc.rs index bda779e..cdebe6c 100644 --- a/src/import_cost_proceeds_etc.rs +++ b/src/import_cost_proceeds_etc.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::collections::{HashMap}; use std::error::Error; diff --git a/src/main.rs b/src/main.rs index c3b0a79..aa1155f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt #![allow(dead_code)] #![allow(unused_variables)] @@ -32,7 +32,7 @@ use crate::core_functions::ImportProcessParameters; #[derive(StructOpt, Debug)] -#[structopt(name = "cryptools-rs")] +#[structopt(name = "cryptools")] struct Cli { /// File to be imported. (Currently, the only supported date format is %m/%d/%y.) @@ -77,7 +77,7 @@ fn main() -> Result<(), Box> { println!( " - Hello, crypto-folk! Welcome to cryptools-rs! + Hello, crypto-folk! Welcome to cryptools! This software will import your csv file's ledger of cryptocurrency transactions. It will then process it by creating 'lots' and posting 'movements' to those lots. diff --git a/src/string_utils.rs b/src/string_utils.rs index e8045cc..0efd6d9 100644 --- a/src/string_utils.rs +++ b/src/string_utils.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt pub fn trim_newline(s: &mut String) { if s.ends_with('\n') { diff --git a/src/tests/mod.rs b/src/tests/mod.rs index 3b05ddb..9f0fef6 100644 --- a/src/tests/mod.rs +++ b/src/tests/mod.rs @@ -1,4 +1,4 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt pub mod test; diff --git a/src/tests/test.rs b/src/tests/test.rs index 67d034c..ced1f2f 100644 --- a/src/tests/test.rs +++ b/src/tests/test.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::fs; use std::collections::{HashMap}; diff --git a/src/transaction.rs b/src/transaction.rs index 7fb7612..eabf879 100644 --- a/src/transaction.rs +++ b/src/transaction.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::rc::{Rc}; use std::cell::{RefCell}; diff --git a/src/txt_export.rs b/src/txt_export.rs index b7644f0..58ff27e 100644 --- a/src/txt_export.rs +++ b/src/txt_export.rs @@ -1,5 +1,5 @@ // Copyright (c) 2017-2019, scoobybejesus -// Redistributions must include the license: https://github.com/scoobybejesus/cryptools-rs/blob/master/LEGAL.txt +// Redistributions must include the license: https://github.com/scoobybejesus/cryptools/blob/master/LEGAL.txt use std::fs::{OpenOptions}; use std::collections::{HashMap};