diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-11 15:57:38 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-11 15:57:38 -0800 |
commit | 8a01449d158a3a423c965bc48df0f8512536dbaa (patch) | |
tree | eaaf0991ef29f3862d2480e8c205f85e8bf4af3d | |
parent | cd371419360a6b61985a311141525257e2b8a6f8 (diff) | |
download | adenosine-8a01449d158a3a423c965bc48df0f8512536dbaa.tar.gz adenosine-8a01449d158a3a423c965bc48df0f8512536dbaa.zip |
update from dotenv to dotenvy
-rw-r--r-- | Cargo.lock | 10 | ||||
-rw-r--r-- | adenosine-cli/Cargo.toml | 2 | ||||
-rw-r--r-- | adenosine-cli/src/bin/adenosine.rs | 2 | ||||
-rw-r--r-- | adenosine-pds/Cargo.toml | 2 | ||||
-rw-r--r-- | adenosine-pds/src/bin/adenosine-pds.rs | 2 |
5 files changed, 9 insertions, 9 deletions
@@ -11,7 +11,7 @@ dependencies = [ "base64", "colored_json", "data-encoding", - "dotenv", + "dotenvy", "env_logger", "lazy_static", "log", @@ -36,7 +36,7 @@ dependencies = [ "bcrypt", "bs58", "data-encoding", - "dotenv", + "dotenvy", "futures", "integer-encoding", "ipfs-sqlite-block-store", @@ -871,10 +871,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" [[package]] -name = "dotenv" -version = "0.15.0" +name = "dotenvy" +version = "0.15.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f" +checksum = "03d8c417d7a8cb362e0c37e5d815f5eb7c37f79ff93707329d5a194e42e54ca0" [[package]] name = "ecdsa" diff --git a/adenosine-cli/Cargo.toml b/adenosine-cli/Cargo.toml index 4431665..0be5641 100644 --- a/adenosine-cli/Cargo.toml +++ b/adenosine-cli/Cargo.toml @@ -23,7 +23,7 @@ serde_json = "1" base64 = "0.13" regex = "1" lazy_static = "1" -dotenv = "0.15" +dotenvy = "0.15" data-encoding = "2" rand = "0.8" time = { version = "0.3", features = ["formatting"] } diff --git a/adenosine-cli/src/bin/adenosine.rs b/adenosine-cli/src/bin/adenosine.rs index 6873a8b..6fbb60e 100644 --- a/adenosine-cli/src/bin/adenosine.rs +++ b/adenosine-cli/src/bin/adenosine.rs @@ -218,7 +218,7 @@ enum Command { } fn main() -> Result<()> { - dotenv::dotenv().ok(); + dotenvy::dotenv().ok(); let opt = Opt::from_args(); let log_level = match opt.verbose { diff --git a/adenosine-pds/Cargo.toml b/adenosine-pds/Cargo.toml index 1a92e96..24c3dbc 100644 --- a/adenosine-pds/Cargo.toml +++ b/adenosine-pds/Cargo.toml @@ -43,7 +43,7 @@ ucan = "0.7.0-alpha.1" # TODO: replace this with data-encoding or similar; this is only needed for ucan_p256 stuff bs58 = "0.4" async-trait = "0.1" -dotenv = "0.15" +dotenvy = "0.15" askama = { version = "0.11", features = ["serde-json"] } time = { version = "0.3", features = ["formatting"] } diff --git a/adenosine-pds/src/bin/adenosine-pds.rs b/adenosine-pds/src/bin/adenosine-pds.rs index d02b07c..3379841 100644 --- a/adenosine-pds/src/bin/adenosine-pds.rs +++ b/adenosine-pds/src/bin/adenosine-pds.rs @@ -128,7 +128,7 @@ enum Command { } fn main() -> Result<()> { - dotenv::dotenv().ok(); + dotenvy::dotenv().ok(); let opt = Opt::from_args(); if let Some(shell) = opt.shell_completions { |