-
-
Notifications
You must be signed in to change notification settings - Fork 61
/
Cargo.toml
51 lines (44 loc) · 1.45 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
[package]
name = "rspc"
description = "A blazing fast and easy to use TRPC server for Rust."
version = "0.3.1"
authors = ["Oscar Beaumont <oscar@otbeaumont.me>"]
edition = "2021"
license = "MIT"
include = ["/src", "/LICENCE", "/README.md"]
repository = "https://github.com/specta-rs/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]
# Public
serde = { version = "1", features = ["derive"] } # TODO: Remove features
futures = "0.3"
specta = { version = "=2.0.0-rc.20", features = [
"derive",
"serde",
"serde_json",
] } # TODO: Drop all features
specta-util = "0.0.7"
# Private
serde-value = "0.7"
erased-serde = "0.4"
# Temporary # TODO: Remove
specta-typescript = { version = "=0.0.7", features = [] }
serde_json = "1.0.133" # TODO: Drop this
thiserror = "2.0.3"
tokio = { version = "1.41.1", features = ["sync", "rt", "macros"] }
tracing = { version = "0.1.40", optional = true }
transient = "0.4.1"
better_any = "0.2.0"
# https://github.com/rust-lang/rust/issues/77125
typeid = "1.0.2"
[workspace]
members = ["./crates/*", "./examples", "./examples/axum", "crates/core"]