From 09ea40bbfbbff1d64e502886a7fa2554a5190ce6 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Tue, 14 Jun 2022 18:25:13 +0530 Subject: Post clap addition --- Cargo.toml | 1 + src/main.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 64ce4b8..776f321 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,3 +6,4 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] +clap = { version = "3.2.17", features = ["derive"] } diff --git a/src/main.rs b/src/main.rs index 6bb5758..6366b0f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +//Prereq - cargo add clap --features derive #![allow(unused)] ///Using clap - command line argument parser use clap::Parser; -- cgit v1.2.3