Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 1 | # 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 |
| 6 | # to registry (e.g., crates.io) dependencies |
| 7 | # |
| 8 | # If you believe there's an error in this file please file an |
| 9 | # issue against the rust-lang/cargo repository. If you're |
| 10 | # editing this file be aware that the upstream Cargo.toml |
| 11 | # will likely look very different (and much more reasonable) |
| 12 | |
| 13 | [package] |
Haibo Huang | d32e6ee | 2020-08-12 13:52:04 -0700 | [diff] [blame] | 14 | edition = "2018" |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 15 | name = "protobuf" |
Haibo Huang | 914311b | 2021-01-07 18:06:15 -0800 | [diff] [blame^] | 16 | version = "2.20.0" |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 17 | authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"] |
| 18 | description = "Rust implementation of Google protocol buffers\n" |
| 19 | homepage = "https://github.com/stepancheg/rust-protobuf/" |
| 20 | documentation = "https://github.com/stepancheg/rust-protobuf/blob/master/README.md" |
| 21 | license = "MIT" |
| 22 | repository = "https://github.com/stepancheg/rust-protobuf/" |
| 23 | [package.metadata.docs.rs] |
| 24 | all-features = true |
| 25 | |
| 26 | [lib] |
| 27 | doctest = false |
| 28 | bench = false |
| 29 | [dependencies.bytes] |
Haibo Huang | 914311b | 2021-01-07 18:06:15 -0800 | [diff] [blame^] | 30 | version = "1.0" |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 31 | optional = true |
| 32 | |
| 33 | [dependencies.serde] |
| 34 | version = "1.0" |
| 35 | optional = true |
| 36 | |
| 37 | [dependencies.serde_derive] |
| 38 | version = "1.0" |
| 39 | optional = true |
| 40 | |
| 41 | [features] |
| 42 | with-bytes = ["bytes"] |
| 43 | with-serde = ["serde", "serde_derive"] |