From fa811ee48c200667a71250f2a9cfbadcc5319949 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 23 Apr 2017 03:02:16 +0200 Subject: Cargo.*: Add 'getopts' crate For easier command line option parsing. --- Cargo.lock | 7 +++++++ Cargo.toml | 1 + 2 files changed, 8 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 0f067ec..57dc6d2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,9 +2,15 @@ name = "hearurl" version = "0.0.1" dependencies = [ + "getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", "url 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "getopts" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "idna" version = "0.1.1" @@ -43,6 +49,7 @@ dependencies = [ ] [metadata] +"checksum getopts 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "d9047cfbd08a437050b363d35ef160452c5fe8ea5187ae0a624708c91581d685" "checksum idna 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "6ac85ec3f80c8e4e99d9325521337e14ec7555c458a14e377d189659a427f375" "checksum matches 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "efd7622e3022e1a6eaa602c4cea8912254e5582c9c692e9167714182244801b1" "checksum unicode-bidi 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d3a078ebdd62c0e71a709c3d53d2af693fe09fe93fbff8344aebe289b78f9032" diff --git a/Cargo.toml b/Cargo.toml index 3132e1d..75c36b9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,4 +3,5 @@ name = "hearurl" version = "0.0.1" [dependencies] +getopts = "0.2" url = "1.4.0" -- cgit v1.2.3