Add lazy_static package

This commit is contained in:
Ethan Girouard 2024-01-14 16:43:25 -05:00
parent 043a56c275
commit ae3406fc59
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146
2 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View File

@ -1505,6 +1505,7 @@ dependencies = [
"diesel",
"dotenv",
"http",
"lazy_static",
"leptos",
"leptos_actix",
"leptos_icons",

View File

@ -25,6 +25,7 @@ leptos_icons = { version = "0.1.0", default_features = false, features = [
] }
dotenv = { version = "0.15.0", optional = true }
diesel = { version = "2.1.4", features = ["postgres", "r2d2"], optional = true }
lazy_static = { version = "1.4.0", optional = true }
[features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]
@ -38,6 +39,7 @@ ssr = [
"leptos_router/ssr",
"dotenv",
"diesel",
"lazy_static",
]
# Defines a size-optimized profile for the WASM bundle in release mode