aosp12/external/rust/crates/protobuf/Cargo.toml.orig

30 lines
755 B
TOML

[package]
name = "protobuf"
version = "2.22.1"
authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"]
edition = "2018"
license = "MIT"
homepage = "https://github.com/stepancheg/rust-protobuf/"
repository = "https://github.com/stepancheg/rust-protobuf/"
documentation = "https://github.com/stepancheg/rust-protobuf/blob/master/README.md"
description = """
Rust implementation of Google protocol buffers
"""
[lib]
doctest = false
bench = false
[features]
with-bytes = ["bytes"]
with-serde = ["serde", "serde_derive"]
[dependencies]
bytes = { version = "1.0", optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
serde_derive = { version = "1.0", optional = true }
[package.metadata.docs.rs]
all-features = true