1[package] 2name = "protobuf-parse" 3version = "3.2.0" 4edition = "2021" 5authors = ["Stepan Koltsov <stepan.koltsov@gmail.com>"] 6license = "MIT" 7homepage = "https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-parse/" 8repository = "https://github.com/stepancheg/rust-protobuf/tree/master/protobuf-parse/" 9description = """ 10Parse `.proto` files. 11 12Files are parsed into a `protobuf::descriptor::FileDescriptorSet` object using either: 13* pure rust parser (no dependencies) 14* `protoc` binary (more reliable and compatible with Google's implementation) 15""" 16 17[dependencies] 18tempfile = "3.2.0" 19log = "0.4" 20which = "4.0" 21anyhow = "1.0.53" 22thiserror = "1.0.30" 23indexmap = "1.8.0" 24 25protobuf = { path = "../protobuf", version = "=3.2.0" } 26protobuf-support = { path = "../protobuf-support", version = "=3.2.0" } 27 28[lib] 29# TODO: figure out what to do with bundled linked_hash_map 30doctest = false 31 32[[bin]] 33 34name = "parse-and-typecheck" 35path = "src/bin/parse-and-typecheck.rs" 36test = false 37 38[package.metadata.docs.rs] 39all-features = true 40