Add server_fn crate

This commit is contained in:
Ethan Girouard 2024-04-12 17:04:51 -04:00
parent 6c74220458
commit 04e0a66122
Signed by: eta357
GPG Key ID: 7BCDC36DFD11C146
2 changed files with 5 additions and 2 deletions

6
Cargo.lock generated
View File

@ -1513,6 +1513,7 @@ dependencies = [
"openssl", "openssl",
"pbkdf2", "pbkdf2",
"serde", "serde",
"server_fn",
"thiserror", "thiserror",
"time", "time",
"tokio", "tokio",
@ -2298,9 +2299,9 @@ dependencies = [
[[package]] [[package]]
name = "server_fn" name = "server_fn"
version = "0.6.10" version = "0.6.11"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15a46a2ffdecb81430ecfb995989218a18b6e94c1ead50cb806b5927c986a8ce" checksum = "536a5b959673643ee01e59ae41bf01425482c8070dee95d7061ee2d45296b59c"
dependencies = [ dependencies = [
"axum", "axum",
"bytes", "bytes",
@ -2314,6 +2315,7 @@ dependencies = [
"hyper", "hyper",
"inventory", "inventory",
"js-sys", "js-sys",
"multer",
"once_cell", "once_cell",
"send_wrapper", "send_wrapper",
"serde", "serde",

View File

@ -36,6 +36,7 @@ tower-sessions = { version = "0.11", default-features = false }
tower-sessions-redis-store = { version = "0.11", optional = true } tower-sessions-redis-store = { version = "0.11", optional = true }
async-trait = "0.1.79" async-trait = "0.1.79"
axum-login = { version = "0.14.0", optional = true } axum-login = { version = "0.14.0", optional = true }
server_fn = { version = "0.6.11", features = ["multipart"] }
[patch.crates-io] [patch.crates-io]
gloo-net = { git = "https://github.com/rustwasm/gloo.git", rev = "a823fab7ecc4068e9a28bd669da5eaf3f0a56380" } gloo-net = { git = "https://github.com/rustwasm/gloo.git", rev = "a823fab7ecc4068e9a28bd669da5eaf3f0a56380" }