-
Notifications
You must be signed in to change notification settings - Fork 472
/
Cargo.toml
35 lines (32 loc) · 1.05 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
[package]
name = "prost-derive"
# 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-derive"
readme = "README.md"
description = "A Protocol Buffers implementation for the Rust Language."
edition = "2018"
[lib]
proc_macro = true
[features]
use_std = [ "failure/std" ]
# std feature means that prost-derive attempts to use std collections
#
# When this feature is disabled, we attempt to use alloc.
# This should be similar to putting `config.use_alloc_collections` in a
# prost-build config
#
# Generated code assumes that user's crate has `extern crate alloc` somewhere
#
# Note that prost/std => prost-derive/std, so we don't default prost-derive/std
# This makes it so that prost with default-features = false => prost-derive
# without std.
default = []
[dependencies]
itertools = "0.8"
proc-macro2 = "0.4.4"
quote = "0.6.3"
syn = { version = "0.15", features = [ "extra-traits" ] }