aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-03 18:18:46 -0700
committerBryan Newbold <bnewbold@robocracy.org>2022-11-03 18:18:46 -0700
commit00b17ca17ea0d9503aab3175732977a2119962b9 (patch)
treec678a15757e19431683fd1d3c79e654f8986a209 /adenosine-pds/src
parent498f9e0b0b87e6d497b235474c0db669076d73ff (diff)
downloadadenosine-00b17ca17ea0d9503aab3175732977a2119962b9.tar.gz
adenosine-00b17ca17ea0d9503aab3175732977a2119962b9.zip
use dotenv to pick up environment variables
Diffstat (limited to 'adenosine-pds/src')
-rw-r--r--adenosine-pds/src/bin/adenosine-pds.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/adenosine-pds/src/bin/adenosine-pds.rs b/adenosine-pds/src/bin/adenosine-pds.rs
index cfae0ca..ce36587 100644
--- a/adenosine-pds/src/bin/adenosine-pds.rs
+++ b/adenosine-pds/src/bin/adenosine-pds.rs
@@ -61,6 +61,7 @@ enum Command {
}
fn main() -> Result<()> {
+ dotenv::dotenv().ok();
let opt = Opt::from_args();
let log_level = match opt.verbose {