server_fn 0.7.0-rc2

RPC for any web framework.
Documentation
[dependencies.actix-web]
optional = true
version = "4.9"

[dependencies.axum]
default-features = false
features = ["multipart"]
optional = true
version = "0.7.9"

[dependencies.bytes]
version = "1.8"

[dependencies.ciborium]
optional = true
version = "0.2.2"

[dependencies.const_format]
version = "0.2.33"

[dependencies.dashmap]
version = "6.1"

[dependencies.futures]
version = "0.3.31"

[dependencies.gloo-net]
optional = true
version = "0.6.0"

[dependencies.http]
version = "1.1"

[dependencies.http-body-util]
optional = true
version = "0.1.2"

[dependencies.hyper]
optional = true
version = "1.5"

[dependencies.inventory]
optional = true
version = "0.3.15"

[dependencies.js-sys]
optional = true
version = "0.3.72"

[dependencies.multer]
optional = true
version = "3.1"

[dependencies.once_cell]
version = "1.20"

[dependencies.pin-project-lite]
version = "0.2.15"

[dependencies.postcard]
features = ["alloc"]
optional = true
version = "1"

[dependencies.reqwest]
default-features = false
features = ["multipart", "stream"]
optional = true
version = "0.12.9"

[dependencies.rkyv]
optional = true
version = "0.8.8"

[dependencies.rmp-serde]
optional = true
version = "1.3.0"

[dependencies.send_wrapper]
features = ["futures"]
optional = true
version = "0.6.0"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde-lite]
features = ["derive"]
optional = true
version = "0.5.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_qs]
optional = true
version = "0.13.0"

[dependencies.server_fn_macro_default]
version = "0.7.0-rc2"

[dependencies.thiserror]
version = "2.0"

[dependencies.throw_error]
version = "0.2.0-rc2"

[dependencies.tower]
optional = true
version = "0.5.1"

[dependencies.tower-layer]
optional = true
version = "0.3.3"

[dependencies.url]
version = "2"

[dependencies.wasm-bindgen]
optional = true
version = "0.2.95"

[dependencies.wasm-bindgen-futures]
optional = true
version = "0.4.45"

[dependencies.wasm-streams]
optional = true
version = "0.4.2"

[dependencies.web-sys]
features = ["console", "ReadableStream", "ReadableStreamDefaultReader", "AbortController", "AbortSignal"]
optional = true
version = "0.3.72"

[dependencies.xxhash-rust]
features = ["const_xxh64"]
version = "0.8.12"

[features]
actix = ["ssr", "dep:actix-web", "dep:send_wrapper"]
axum = ["axum/default", "axum-no-default"]
axum-no-default = ["ssr", "generic", "dep:axum", "dep:hyper", "dep:http-body-util", "dep:tower", "dep:tower-layer"]
browser = ["dep:gloo-net", "dep:js-sys", "dep:send_wrapper", "dep:wasm-bindgen", "dep:web-sys", "dep:wasm-streams", "dep:wasm-bindgen-futures"]
cbor = ["dep:ciborium"]
default = ["json"]
default-tls = ["reqwest?/default-tls"]
form-redirects = []
generic = []
json = []
msgpack = ["dep:rmp-serde"]
multipart = ["browser", "dep:multer"]
postcard = ["dep:postcard"]
reqwest = ["dep:reqwest"]
rkyv = ["dep:rkyv"]
rustls = ["reqwest?/rustls-tls"]
serde-lite = ["dep:serde-lite"]
ssr = ["inventory"]
url = ["dep:serde_qs"]

[lib]
name = "server_fn"
path = "src/lib.rs"

[package]
authors = ["Greg Johnston", "Ben Wishovich"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "RPC for any web framework."
edition = "2021"
license = "MIT"
name = "server_fn"
readme = "README.md"
repository = "https://github.com/leptos-rs/leptos"
rust-version = "1.76"
version = "0.7.0-rc2"

[package.metadata.cargo-all-features]
denylist = ["rustls", "default-tls", "form-redirects", "gloo-net", "js-sys", "wasm-bindgen", "web-sys", "tower", "tower-layer", "send_wrapper", "ciborium", "hyper", "inventory", "rkyv"]
skip_feature_sets = [["actix", "axum"], ["actix", "generic"], ["browser", "actix"], ["browser", "axum"], ["browser", "reqwest"], ["browser", "generic"], ["default-tls", "rustls"], ["browser", "ssr"], ["axum-no-default", "actix"], ["axum-no-default", "browser"], ["axum-no-default", "generic"], ["rkyv", "json"], ["rkyv", "cbor"], ["rkyv", "url"], ["rkyv", "serde-lite"], ["url", "json"], ["url", "cbor"], ["url", "serde-lite"], ["postcard", "json"], ["postcard", "cbor"], ["postcard", "url"], ["postcard", "serde-lite"], ["postcard", "rkyv"]]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition"]