forked from vincent-herlemont/native_model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
41 lines (34 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
[package]
name = "native_model"
version = "0.4.19"
authors = ["Vincent Herlemont <vincent@herlemont.fr>"]
edition = "2021"
description = "A thin wrapper around serialized data which add information of identity and version."
license = "MIT"
repository = "https://github.com/vincent-herlemont/native_model"
readme = "README.md"
build = "build.rs"
keywords = ["serialization", "interoperability", "data-consistency", "flexibility", "performance"]
categories = ["data-structures", "encoding", "rust-patterns"]
[workspace]
members = ["native_model_macro"]
[dependencies]
zerocopy = { version = "0.7.33", features = [ "derive"] }
thiserror = "1.0.59"
anyhow = "1.0.82"
native_model_macro = { version = "0.4.19", path = "native_model_macro" }
serde = { version = "1.0.200", features = ["derive"], optional = true }
bincode_1_3 = { package = "bincode", version = "1.3.3", optional = true }
bincode_2_rc = { package = "bincode", version = "2.0.0-rc.3", features = ["serde"], optional = true }
postcard_1_0 = { package = "postcard", version = "1.0.8", features = ["alloc"], optional = true }
[dev-dependencies]
serde_json = "1.0.116"
criterion = { version = "0.5.1" }
skeptic = "0.13.7"
[features]
default = ["serde", "bincode_1_3"]
[[bench]]
name = "overhead"
harness = false
[build-dependencies]
skeptic = "0.13.7"