blob: 9e4935ff51806c1f8e672557001c32c2197cd2c1 [file] [log] [blame]
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -07001# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
Joel Galensonf9dc51b2021-08-09 10:39:22 -07006# to registry (e.g., crates.io) dependencies.
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -07007#
Joel Galensonf9dc51b2021-08-09 10:39:22 -07008# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -070011
12[package]
Haibo Huangd32e6ee2020-08-12 13:52:04 -070013edition = "2018"
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -070014name = "protobuf"
David LeGare793d84b2022-03-02 16:21:10 +000015version = "2.27.1"
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -070016authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"]
David LeGare793d84b2022-03-02 16:21:10 +000017description = """
18Rust implementation of Google protocol buffers
19"""
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -070020homepage = "https://github.com/stepancheg/rust-protobuf/"
21documentation = "https://github.com/stepancheg/rust-protobuf/blob/master/README.md"
22license = "MIT"
23repository = "https://github.com/stepancheg/rust-protobuf/"
David LeGare793d84b2022-03-02 16:21:10 +000024
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -070025[package.metadata.docs.rs]
26all-features = true
27
28[lib]
29doctest = false
30bench = false
David LeGare793d84b2022-03-02 16:21:10 +000031
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -070032[dependencies.bytes]
Haibo Huang914311b2021-01-07 18:06:15 -080033version = "1.0"
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -070034optional = true
35
36[dependencies.serde]
37version = "1.0"
Haibo Huangca95bfd2021-02-09 17:48:30 -080038features = ["derive"]
Chih-Hung Hsiehcfc3a232020-06-10 20:13:05 -070039optional = true
40
41[dependencies.serde_derive]
42version = "1.0"
43optional = true
44
45[features]
46with-bytes = ["bytes"]
David LeGare793d84b2022-03-02 16:21:10 +000047with-serde = [
48 "serde",
49 "serde_derive",
50]