fork/rust_serialization_benchmark

git clone https://git.julia.blue/fork/rust_serialization_benchmark

David KoloskiInitial bebop support, improve flatc build2940c3e

bebop
2.2 KiB81 linesraw
1[package]
2name = "rust_serialization_benchmark"
3version = "0.1.0"
4authors = ["David Koloski <djkoloski@gmail.com>"]
5edition = "2018"
6build = "build.rs"
7
8# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
9
10# Some features may require multiple dependencies to compile properly
11# For example, benchmarking bincode requires two features: "serde" and "bincode"
12
13[dependencies]
14abomonation = { version = "0.7", optional = true }
15abomonation_derive = { version = "0.5", optional = true }
16# "nightly" feature won't be required starting with rustc 1.55
17alkahest = { version = "0.1.4", optional = true, features = ["derive", "nightly"] }
18bebop = { version = "2.3", optional = true }
19bincode = { version = "1.3", optional = true }
20borsh = { version = "0.9", optional = true }
21bytecheck = { version = "0.6", optional = true }
22bytemuck = { version = "1.0", optional = true }
23capnp = { version = "0.14", optional = true }
24criterion = "0.3"
25flatbuffers = { version = "2.0", optional = true }
26libflate = "1.0"
27nachricht-serde = { version = "0.3", optional = true }
28postcard = { version = "0.7", features = ["alloc"], optional = true }
29prost = { version = "0.7", optional = true }
30rand = "0.8"
31rkyv = { version = "0.7.0", features = ["validation"], optional = true }
32rmp-serde = { version = "0.15", optional = true }
33ron = { version = "0.6", optional = true }
34serde = { version = "1.0", features = ["derive"], optional = true }
35serde_cbor = { version = "0.11", optional = true }
36serde_json = { version = "1.0", optional = true }
37simd-json = { version = "0.4", optional = true }
38speedy = { version = "0.7", optional = true }
39zstd = "0.9"
40
41[features]
42default = [
43    "abomonation",
44    "abomonation_derive",
45    "bebop",
46    "bincode",
47    "borsh",
48    "bytecheck",
49    "bytemuck",
50    "capnp",
51    "flatbuffers",
52    "nachricht-serde",
53    "postcard",
54    "prost",
55    "rkyv",
56    "rmp-serde",
57    "ron",
58    "serde",
59    "serde_cbor",
60    "serde_json",
61    "simd-json",
62    "speedy",
63]
64
65[dev-dependencies]
66rand_pcg = "0.3"
67
68[build-dependencies]
69bebop-tools = "2.3"
70capnp = "0.14"
71capnpc = "0.14"
72flatc-rust = "0.2"
73prost-build = "0.7"
74
75[[bench]]
76name = "bench"
77harness = false
78
79# Uncomment this to profile
80# [profile.bench]
81# debug = true