-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
44 lines (39 loc) · 1.28 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
[workspace]
members = ["schema"]
[package]
name = "npsd"
version = "0.1.11"
edition = "2021"
license = "Apache-2.0"
publish = true
description = "Network payload serializer / deserializer framework"
repository = "https://github.com/vmolsa/npsd"
documentation = "https://docs.rs/npsd"
categories = ["network-programming"]
keywords = ["serialize", "deserialize"]
readme = "README.md"
[dependencies]
thiserror = "1.0.61"
npsd-schema = { path = "schema", version = "0.1.2" }
xxhash-rust = { version = "0.8.10", features = ["xxh3", "const_xxh3"] }
uuid = { version = "1.8.0", features = ["std", "v4", "v7"], optional = true }
fxhash = { version = "0.2.1", optional = true }
chrono = { version = "0.4.38", optional = true }
[features]
default = [ "sync" ]
sync = []
async = []
info = []
full = [ "sync", "async", "info", "uuid", "fxhash", "chrono" ]
[dev-dependencies]
pretty-hex = "0.4.1"
serde = { version = "1.0.203", features = ["derive"] }
uuid = { version = "1.8.0", features = ["std", "v4", "v7", "serde"] }
bincode = "1.3.3"
serde_json = "1.0.118"
postcard = { version = "1.0.8", features = [ "alloc" ] }
tokio = { version = "1.36.0", features = ["full"] }
async-std = { version = "1.12.0", features = ["attributes"] }
[package.metadata.docs.rs]
all-features = false
rustdoc-args = ["--cfg", "docsrs"]