forked from specta-rs/rspc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
68 lines (57 loc) · 2.19 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[package]
name = "rspc"
version = "0.1.4"
authors = ["Oscar Beaumont <[email protected]>"]
description = "A blazing fast and easy to use TRPC server for Rust."
edition = "2021"
license = "MIT"
repository = "https://github.com/spacedriveapp/rspc"
categories = ["asynchronous", "web-programming"]
include = ["/LICENCE", "/README.md", "/src"]
keywords = ["async", "rust-to-ts", "specta", "typesafe", "typescript"]
# /bin/sh RUSTDOCFLAGS="--cfg docsrs" cargo +nightly doc --all-features
[package.metadata."docs.rs"]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
alpha = [] # APIs that are not yet stable
tauri = ["dep:tauri"]
unstable = [] # APIs where one line of code can blow up your whole app
# Webservers
axum = ["dep:httpz"]
# Specta # TODO: Remove all of these with v1
bigdecimal = ["specta/bigdecimal"]
bit-vec = ["specta/bit-vec"]
bson = ["specta/bson"]
bytesize = ["specta/bytesize"]
chrono = ["specta/chrono"]
glam = ["specta/glam"]
indexmap = ["specta/indexmap"]
ipnetwork = ["specta/ipnetwork"]
mac_address = ["specta/mac_address"]
rust_decimal = ["specta/rust_decimal"]
time = ["specta/time"]
uhlc = ["specta/uhlc"]
uuid = ["specta/uuid"]
[dependencies]
# Inner Sub-crates
httpz = { path = "./httpz", optional = true }
# Dependencies
futures = "0.3.31"
futures-channel = "0.3.31"
futures-locks = { version = "0.7.1", features = ["tokio"] }
nougat = "0.2.4"
pin-project = "1.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
specta = { version = "=2.0.0-rc.20", features = ["derive", "serde", "serde_json"] }
specta-datatype-from = { git = "https://github.com/specta-rs/specta", rev = "8509af0162" }
specta-serde = { version = "=0.0.7" }
specta-typescript = { version = "=0.0.7", features = ["function"] }
tauri = { version = "2.0", optional = true }
thiserror = "1.0"
tokio = { version = "1.40", features = ["macros", "rt", "sync"] }
tracing = { version = "0.1.37" }
[workspace]
members = ["./httpz"]