aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbryan newbold <bnewbold@robocracy.org>2023-02-19 18:25:58 -0800
committerbryan newbold <bnewbold@robocracy.org>2023-02-19 18:25:58 -0800
commit7d479d0871e6b4e2edaeff433e37f5e7c3b614fc (patch)
tree2cbc022efe268cfd9ff4afc1ecbe0796e9d293d8
parent69f6a2a84a1be53941415440ce54e5908c030249 (diff)
downloadadenosine-7d479d0871e6b4e2edaeff433e37f5e7c3b614fc.tar.gz
adenosine-7d479d0871e6b4e2edaeff433e37f5e7c3b614fc.zip
deps: fix rustc 1.61 time incompat; remove some unused deps from clicommon-crate
-rw-r--r--Cargo.lock13
-rw-r--r--adenosine-cli/Cargo.toml6
-rw-r--r--adenosine/Cargo.toml2
3 files changed, 5 insertions, 16 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 4344667..a085c54 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -40,21 +40,16 @@ dependencies = [
"adenosine",
"anyhow",
"atty",
- "base64 0.13.1",
"colored_json",
- "data-encoding",
"dotenvy",
"env_logger",
"lazy_static",
"log",
- "rand",
"regex",
- "reqwest",
"serde",
"serde_json",
"structopt",
"termcolor",
- "time",
]
[[package]]
@@ -2812,9 +2807,9 @@ dependencies = [
[[package]]
name = "time"
-version = "0.3.19"
+version = "0.3.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "53250a3b3fed8ff8fd988587d8925d26a83ac3845d9e03b220b37f34c2b8d6c2"
+checksum = "a561bf4617eebd33bca6434b988f39ed798e527f51a1e797d0ee4f61c0a38376"
dependencies = [
"itoa",
"libc",
@@ -2832,9 +2827,9 @@ checksum = "2e153e1f1acaef8acc537e68b44906d2db6436e2b35ac2c6b42640fff91f00fd"
[[package]]
name = "time-macros"
-version = "0.2.7"
+version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a460aeb8de6dcb0f381e1ee05f1cd56fcf5a5f6eb8187ff3d8f0b11078d38b7c"
+checksum = "d967f99f534ca7e495c575c62638eebc2898a8c84c119b89e250477bc4ba16b2"
dependencies = [
"time-core",
]
diff --git a/adenosine-cli/Cargo.toml b/adenosine-cli/Cargo.toml
index 9c8c62c..1709060 100644
--- a/adenosine-cli/Cargo.toml
+++ b/adenosine-cli/Cargo.toml
@@ -17,17 +17,11 @@ repository = "https://gitlab.com/bnewbold/adenosine"
[dependencies]
adenosine = { version = "0.2.0", path = "../adenosine" }
structopt = "0.3"
-# NOTE: could try 'rustls-tls' feature instead of default native TLS?
-reqwest = { version = "0.11", features = ["blocking", "json"] }
serde = { version = "1", features = ["serde_derive"] }
serde_json = "1"
-base64 = "0.13"
regex = "1"
lazy_static = "1"
dotenvy = "0.15"
-data-encoding = "2"
-rand = "0.8"
-time = { version = "0.3", features = ["formatting"] }
# uncertain about these...
anyhow = "1"
diff --git a/adenosine/Cargo.toml b/adenosine/Cargo.toml
index f4705ae..f9db438 100644
--- a/adenosine/Cargo.toml
+++ b/adenosine/Cargo.toml
@@ -32,7 +32,7 @@ reqwest = { version = "0.11", features = ["blocking", "json"] }
serde = { version = "1", features = ["serde_derive"] }
serde_json = "1"
sha256 = "1"
-time = { version = "0.3", features = ["formatting"] }
+time = { version = "=0.3.17", features = ["formatting"] }
tokio = { version = "1", features = ["full"] }
# crypto/auth stuff