forked from tokio-rs/prost
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
56 lines (49 loc) · 1.24 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
46
47
48
49
50
51
52
53
54
55
56
[package]
name = "prost"
version = "0.7.0"
authors = ["Dan Burkert <[email protected]>"]
license = "Apache-2.0"
repository = "https://github.com/danburkert/prost"
documentation = "https://docs.rs/prost"
readme = "README.md"
description = "A Protocol Buffers implementation for the Rust Language."
keywords = ["protobuf", "serialization"]
categories = ["encoding"]
edition = "2018"
[workspace]
members = [
"conformance",
"prost-build",
"prost-derive",
"prost-types",
"protobuf",
"tests",
"tests-2015",
"tests-no-std",
]
exclude = [
# The fuzz crate can't be compiled or tested without the 'cargo fuzz' command,
# so exclude it from normal builds.
"fuzz",
]
[lib]
# https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
bench = false
[features]
default = ["prost-derive", "std"]
no-recursion-limit = []
std = []
[dependencies]
bytes = { version = "1", default-features = false }
prost-derive = { version = "0.7.0", path = "prost-derive", optional = true }
[dev-dependencies]
criterion = "0.3"
env_logger = { version = "0.8", default-features = false }
log = "0.4"
proptest = "1"
rand = "0.8"
[profile.bench]
debug = true
[[bench]]
name = "varint"
harness = false