Switched to a .env config file

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2021-10-16 22:17:57 +02:00
parent 43d9f7c71d
commit 70ca346e93
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283
3 changed files with 9 additions and 0 deletions

1
.env Normal file
View File

@ -0,0 +1 @@
LYCHEE_ENDPOINT=""

7
Cargo.lock generated
View File

@ -48,6 +48,12 @@ version = "0.8.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea221b5284a47e40033bf9b66f35f984ec0ea2931eb03505246cd27a963f981b"
[[package]]
name = "dotenv"
version = "0.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77c90badedccf4105eca100756a0b1289e191f6fcbdadd3cee1d2f614f97da8f"
[[package]]
name = "fnv"
version = "1.0.7"
@ -284,6 +290,7 @@ dependencies = [
name = "lychee_client"
version = "0.1.0"
dependencies = [
"dotenv",
"hyper",
"hyper-tls",
"tokio",

View File

@ -9,3 +9,4 @@ edition = "2018"
hyper = { version = "0.14", features = ["full"] }
tokio = { version = "1", features = ["full"] }
hyper-tls = "0.5.0"
dotenv = "0.15.0"