[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"]
[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",
] }
specta-typescript = { version = "=0.0.7", features = [] }
serde = { version = "1.0.215", features = ["derive"] }
serde_json = "1.0.133"
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"]