add envconfig as a dependency

This commit is contained in:
Akulij 2025-03-30 18:14:09 +08:00
parent 0d0225741f
commit 88395e0b40
2 changed files with 22 additions and 0 deletions

21
Cargo.lock generated
View File

@ -358,6 +358,26 @@ version = "1.15.0"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719" checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
[[package]]
name = "envconfig"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c1d02ec9fdd0a585580bdc8fb7ad01675eee5e3b7336cedbabe3aab4a026dbc"
dependencies = [
"envconfig_derive",
]
[[package]]
name = "envconfig_derive"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d4291f0c7220b67ad15e9d5300ba2f215cee504f0924d60e77c9d1c77e7a69b1"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]] [[package]]
name = "equivalent" name = "equivalent"
version = "1.0.2" version = "1.0.2"
@ -550,6 +570,7 @@ dependencies = [
"diesel", "diesel",
"diesel-async", "diesel-async",
"dotenvy", "dotenvy",
"envconfig",
"teloxide", "teloxide",
"tokio", "tokio",
] ]

View File

@ -9,5 +9,6 @@ edition = "2021"
diesel = { version = "2.2.8", features = ["postgres"] } diesel = { version = "2.2.8", features = ["postgres"] }
diesel-async = { version = "0.5.2", features = ["postgres"] } diesel-async = { version = "0.5.2", features = ["postgres"] }
dotenvy = "0.15.7" dotenvy = "0.15.7"
envconfig = "0.11.0"
teloxide = { version = "0.14.0", features = ["macros"] } teloxide = { version = "0.14.0", features = ["macros"] }
tokio = { version = "1.44.1", features = ["rt-multi-thread", "macros"] } tokio = { version = "1.44.1", features = ["rt-multi-thread", "macros"] }