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 |
Joel Galenson | f9dc51b | 2021-08-09 10:39:22 -0700 | [diff] [blame] | 6 | # to registry (e.g., crates.io) dependencies. |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 7 | # |
Joel Galenson | f9dc51b | 2021-08-09 10:39:22 -0700 | [diff] [blame] | 8 | # 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 Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 11 | |
| 12 | [package] |
Haibo Huang | d32e6ee | 2020-08-12 13:52:04 -0700 | [diff] [blame] | 13 | edition = "2018" |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 14 | name = "protobuf" |
David LeGare | 793d84b | 2022-03-02 16:21:10 +0000 | [diff] [blame] | 15 | version = "2.27.1" |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 16 | authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"] |
David LeGare | 793d84b | 2022-03-02 16:21:10 +0000 | [diff] [blame] | 17 | description = """ |
| 18 | Rust implementation of Google protocol buffers |
| 19 | """ |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 20 | homepage = "https://github.com/stepancheg/rust-protobuf/" |
| 21 | documentation = "https://github.com/stepancheg/rust-protobuf/blob/master/README.md" |
| 22 | license = "MIT" |
| 23 | repository = "https://github.com/stepancheg/rust-protobuf/" |
David LeGare | 793d84b | 2022-03-02 16:21:10 +0000 | [diff] [blame] | 24 | |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 25 | [package.metadata.docs.rs] |
| 26 | all-features = true |
| 27 | |
| 28 | [lib] |
| 29 | doctest = false |
| 30 | bench = false |
David LeGare | 793d84b | 2022-03-02 16:21:10 +0000 | [diff] [blame] | 31 | |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 32 | [dependencies.bytes] |
Haibo Huang | 914311b | 2021-01-07 18:06:15 -0800 | [diff] [blame] | 33 | version = "1.0" |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 34 | optional = true |
| 35 | |
| 36 | [dependencies.serde] |
| 37 | version = "1.0" |
Haibo Huang | ca95bfd | 2021-02-09 17:48:30 -0800 | [diff] [blame] | 38 | features = ["derive"] |
Chih-Hung Hsieh | cfc3a23 | 2020-06-10 20:13:05 -0700 | [diff] [blame] | 39 | optional = true |
| 40 | |
| 41 | [dependencies.serde_derive] |
| 42 | version = "1.0" |
| 43 | optional = true |
| 44 | |
| 45 | [features] |
| 46 | with-bytes = ["bytes"] |
David LeGare | 793d84b | 2022-03-02 16:21:10 +0000 | [diff] [blame] | 47 | with-serde = [ |
| 48 | "serde", |
| 49 | "serde_derive", |
| 50 | ] |