-
Notifications
You must be signed in to change notification settings - Fork 472
/
Cargo.toml
65 lines (57 loc) · 1.76 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"
# NB: When modifying, also modify html_root_url in lib.rs
version = "0.5.0"
authors = ["Dan Burkert <dan@danburkert.com>"]
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"
[badges]
travis-ci = { repository = "danburkert/prost" }
appveyor = { repository = "danburkert/prost" }
[workspace]
members = [
"conformance",
"prost-build",
"prost-derive",
"prost-types",
"protobuf",
"tests",
"tests-2015",
"tests-alloc",
]
exclude = [
# The fuzz crate can't be compiled or tested without the 'cargo fuzz' command,
# so exclude it from normal builds.
"fuzz",
]
[features]
default = ["prost-derive", "std"]
no-recursion-limit = []
std = ["prost-derive/std"]
# When std is disabled, we attempt to provide no_std support in prost
# Config::use_alloc_collections() should be set when using prost_build in your build.rs
# so that generated files will not have std:: either, and will use alloc crate instead
[dependencies]
bytes = { version = "0.5", default-features = false }
prost-derive = { version = "0.5.0", path = "prost-derive", optional = true }
[dev-dependencies]
criterion = "0.2"
env_logger = { version = "0.6", default-features = false }
failure = "0.1"
log = "0.4"
protobuf = { version = "0", path = "protobuf" }
quickcheck = "0.8"
[[bench]]
name = "varint"
[[bench]]
name = "benchmark"
harness = false
# TODO: Remove this after bytes releases 0.5, and before we make a release
[patch.crates-io]
bytes = { git = "https://github.com/tokio-rs/bytes", rev = "c17e40115f5bb2a2db71ed90dceae6ec643dc024" }