-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
45 lines (38 loc) · 1.16 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
[package]
name = "rkyv_codec"
version = "0.4.0"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Some adaptors to stream rkyv Archives over AsyncRead and AsyncWrite"
repository = "https://github.com/zyansheep/rkyv_codec"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rkyv = { version = "0.7", features = ["validation"] }
futures = "0.3"
pin-project = "1.0"
unsigned-varint = { version = "0.7", features = ["futures"] }
futures_codec = { version = "0.4", features = ["cbor"], optional = true }
bytes = { version = "1.3" }
bytes-old = { package = "bytes", version = "0.5", optional = true }
thiserror = "1.0"
[dev-dependencies]
# Runtime
async-std = { version = "1.12.0", features = ["attributes"] }
# For tests & benchmark comparisons
serde = "1.0.152"
lazy_static = "1.4.0"
# For examples
async-broadcast = "0.5.1"
rustyline-async = "0.3.0"
anyhow = "1.0.68"
[features]
default = ["futures_stream", "std"]
std = []
futures_stream = ["futures_codec", "bytes-old"]
[workspace]
members = ["examples/no-std"]
[workspace.metadata.nix]
systems = [ "x86_64-linux" ]
[package.metadata.nix]
app = true
build = true