rm lazy_static

This commit is contained in:
2020-04-04 23:36:54 +08:00
parent b1a9e6f8f2
commit 4b97814932
4 changed files with 1 additions and 6 deletions

1
Cargo.lock generated
View File

@@ -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)",

View File

@@ -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"

View File

@@ -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 {

View File

@@ -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";