diff --git a/Cargo.lock b/Cargo.lock index 932347e..548a95e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1059,7 +1059,6 @@ dependencies = [ "hmac 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "indicatif 0.13.0 (registry+https://github.com/rust-lang/crates.io-index)", "json 0.11.15 (registry+https://github.com/rust-lang/crates.io-index)", - "lazy_static 1.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "reqwest 0.9.24 (registry+https://github.com/rust-lang/crates.io-index)", "rust_util 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "sequoia-openpgp 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/Cargo.toml b/Cargo.toml index 00317e9..9a1f5bb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,5 +19,4 @@ reqwest = "0.9.22" sequoia-openpgp = "0.12.0" chrono = "0.4.10" zip = "0.5.3" -lazy_static = "1.3.0" rust_util = "0.2.1" diff --git a/src/opt.rs b/src/opt.rs index d09eaca..87febd5 100644 --- a/src/opt.rs +++ b/src/opt.rs @@ -5,10 +5,6 @@ use argparse::{ StoreTrue, }; -// lazy_static! { -// pub static ref IS_DEBUG: bool = rust_util::util_env::is_env_on("DEBUG"); -// } - const EMPTY: &str = ""; pub struct Options { diff --git a/src/oss_util.rs b/src/oss_util.rs index c2f2e8c..51956a6 100644 --- a/src/oss_util.rs +++ b/src/oss_util.rs @@ -10,6 +10,7 @@ use hmac::{ use reqwest::Response; use rust_util::*; + pub const DEFAULT_URL_VALID_IN_SECS: u64 = 1000; pub const OSS_VERB_GET: &str = "GET";