forked from tokio-rs/prost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
65 lines (57 loc) · 1.43 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
57
58
59
60
61
62
63
64
65
[package]
name = "prost"
version = "0.11.3"
authors = [
"Dan Burkert <[email protected]>",
"Lucio Franco <[email protected]",
"Tokio Contributors <[email protected]>",
]
license = "Apache-2.0"
repository = "https://github.com/tokio-rs/prost"
documentation = "https://docs.rs/prost"
readme = "README.md"
description = "A Protocol Buffers implementation for the Rust Language."
keywords = ["protobuf", "serialization"]
categories = ["encoding"]
edition = "2021"
rust-version = "1.56"
[workspace]
members = [
"conformance",
"prost-build",
"prost-derive",
"prost-types",
"protobuf",
"tests",
"tests-2015",
"tests-no-std",
"tests/single-include",
]
exclude = [
# The fuzz crate can't be compiled or tested without the 'cargo fuzz' command,
# so exclude it from normal builds.
"fuzz",
# Same counts for the afl fuzz targets
"afl",
]
[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.11.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