Add thiserror crate

This commit is contained in:
Ethan Girouard 2024-03-01 14:59:25 -05:00
parent 57fd838e10
commit 5aaf602e2c
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146
2 changed files with 6 additions and 4 deletions

9
Cargo.lock generated
View File

@ -1857,6 +1857,7 @@ dependencies = [
"openssl", "openssl",
"pbkdf2", "pbkdf2",
"serde", "serde",
"thiserror",
"time", "time",
"tokio", "tokio",
"tower", "tower",
@ -2924,18 +2925,18 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
[[package]] [[package]]
name = "thiserror" name = "thiserror"
version = "1.0.52" version = "1.0.57"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "83a48fd946b02c0a526b2e9481c8e2a17755e47039164a86c4070446e3a4614d" checksum = "1e45bcbe8ed29775f228095caf2cd67af7a4ccf756ebff23a306bf3e8b47b24b"
dependencies = [ dependencies = [
"thiserror-impl", "thiserror-impl",
] ]
[[package]] [[package]]
name = "thiserror-impl" name = "thiserror-impl"
version = "1.0.52" version = "1.0.57"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7fbe9b594d6568a6a1443250a7e67d80b74e1e96f6d1715e1e21cc1888291d3" checksum = "a953cb265bef375dae3de6663da4d3804eee9682ea80d8e2542529b73c531c81"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",

View File

@ -45,6 +45,7 @@ tokio = { version = "1", optional = true }
axum = { version = "0.6.4", optional = true } axum = { version = "0.6.4", optional = true }
tower = { veresion = "0.4.13", optional = true } tower = { veresion = "0.4.13", optional = true }
tower-http = { version = "0.4", optional = true, features = ["fs"] } tower-http = { version = "0.4", optional = true, features = ["fs"] }
thiserror = "1.0.57"
[features] [features]
csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"] csr = ["leptos/csr", "leptos_meta/csr", "leptos_router/csr"]