diff --git a/Cargo.lock b/Cargo.lock index bf82a8f..9ef2171 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -144,7 +144,7 @@ dependencies = [ ] [[package]] -name = "todo-cli" +name = "todo-cli-app" version = "0.1.0" dependencies = [ "anyhow", diff --git a/Cargo.toml b/Cargo.toml index d3c9795..2c2d0e0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "todo-cli" +name = "todo-cli-app" version = "0.1.0" edition = "2021" authors = ["Jack Will "] diff --git a/src/lib.rs b/src/lib.rs index 393c1dd..5def52f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,7 +6,7 @@ use std::io::{BufRead, BufReader}; /// A fictional versioning CLI #[derive(Debug, Parser)] // requires `derive` feature -#[command(name = "todo-cli")] +#[command(name = "todo-cli-app")] #[command(about = "Yet another todo CLI app written in Rust", long_about = None)] pub struct Cli { /// The path to the file to read/write! diff --git a/src/main.rs b/src/main.rs index 6547229..08545b4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,5 @@ use anyhow::Context; -use todo_cli::*; +use todo_cli_app::*; use std::env; use std::io::{BufRead, BufReader}; use clap::Parser;