Skip to content

Commit

Permalink
Setup Human Panic
Browse files Browse the repository at this point in the history
  • Loading branch information
newtoallofthis123 committed Sep 9, 2023
1 parent febc6d9 commit fe0026e
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 9 deletions.
126 changes: 124 additions & 2 deletions Cargo.lock

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

15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,11 @@ repository = "https://github.com/newtoallofthis123/lyrics_cli"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
inquire = {version = "*"}
clap = {version = "*", features = ["derive"]}
bunt = {version = "*"}
reqwest = {version = "*"}
serde = {version = "*", features = ["derive"]}
serde_json = {version = "*"}
tokio = {version = "*", features = ["full"]}
inquire = {version = "0.6"}
clap = {version = "4.4", features = ["derive"]}
bunt = {version = "0.2"}
reqwest = {version = "0.11"}
serde = {version = "1", features = ["derive"]}
serde_json = {version = "1"}
tokio = {version = "1", features = ["full"]}
human-panic = {version = "1.0"}
3 changes: 3 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
use human_panic::setup_panic;

mod cli;
mod web;

#[tokio::main]
async fn main() {
setup_panic!();
cli::splash_screen();
let (input, cmd) = cli::parse_args();
if cmd == "-h" || cmd == "--help" {
Expand Down

0 comments on commit fe0026e

Please sign in to comment.