Skip to content

Commit 76bcf02

Browse files
committed
Remove unnecessary dotenv dependency
1 parent 6f9b66b commit 76bcf02

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ chrono = "0.4"
3232
lazy_static = "1.4"
3333

3434
[dev-dependencies]
35-
dotenv = "0.14.1"
3635
lettre = "0.9"
3736
lettre_email = "0.9"
3837
rustls-connector = "0.8.0"

examples/rustls.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ extern crate rustls_connector;
33

44
use std::{env, error::Error, net::TcpStream};
55

6-
use dotenv::dotenv;
76
use rustls_connector::RustlsConnector;
87

98
fn main() -> Result<(), Box<dyn Error>> {
109
// Read config from environment or .env file
11-
dotenv().ok();
1210
let host = env::var("HOST").expect("missing envvar host");
1311
let user = env::var("MAILUSER").expect("missing envvar USER");
1412
let password = env::var("PASSWORD").expect("missing envvar password");

0 commit comments

Comments
 (0)