rspc 0.3.0

A blazing fast and easy to use TRPC server for Rust.
Documentation
[package]
name = "rspc"
description = "A blazing fast and easy to use TRPC server for Rust."
version = "0.3.0"
authors = ["Oscar Beaumont <oscar@otbeaumont.me>"]
edition = "2021"
license = "MIT"
include = ["/src", "/LICENCE", "/README.md"]
repository = "https://github.com/oscartbeaumont/rspc"
documentation = "https://docs.rs/rspc/latest/rspc"
keywords = ["async", "specta", "rust-to-ts", "typescript", "typesafe"]
categories = ["web-programming", "asynchronous"]

# /bin/sh RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features
[package.metadata."docs.rs"]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

[features]
default = []
tracing = ["dep:tracing"]

[dependencies]
specta = { version = "=2.0.0-rc.20", features = [
    "serde",
    "serde_json",
    "interop",
    "derive",
] } # TODO: Remove `derive`
specta-typescript = { version = "=0.0.7", features = [] } # TODO: Remove this?
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133" # TODO: Drop this
thiserror = "2.0.3"
futures = "0.3.31"
tokio = { version = "1.41.1", features = ["sync", "rt", "macros"] }
tracing = { version = "0.1.40", optional = true }

[workspace]
members = ["./crates/*", "./examples", "./examples/axum"]