-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
33 lines (29 loc) · 1 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
[package]
name = "rkyv_rpc"
version = "0.0.1-beta.1"
edition = "2021"
description = "Helpers for defining an RPC protocol using rkyv"
authors = ["Nova <[email protected]>"]
license = "MIT OR Apache-2.0"
include = ["src/**/*", "LICENSE-*", "README.md"]
repository = "https://github.com/Lantern-chat/rkyv_rpc"
documentation = "https://docs.rs/rkyv_rpc"
keywords = ["rkyv", "rpc", "no-std"]
categories = ["no-std", "encoding"]
[features]
default = ["codec", "bitflags"]
unaligned = ["rkyv/unaligned"]
codec = ["tokio-util/codec", "dep:thiserror", "rkyv/std"]
bitflags = ["dep:bitflags"]
[dependencies]
paste = "1.0.15"
thiserror = { version = "1.0.63", optional = true }
tokio-util = { version = "0.7.11", default-features = false, features = ["codec"] }
bitflags = { version = "2.6.0", optional = true }
[dependencies.rkyv]
version = "0.8"
default-features = false
features = ["bytecheck", "alloc"]
[dev-dependencies]
futures-util = { version = "0.3.30", features = ["sink"] }
tokio = { version = "1", features = ["full"] }