# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "power-protobuf" version = "0.1.11" description = "a proc-macro for embedding protobuf inside rust code" homepage = "https://github.com/powermacros/power-protobuf" documentation = "https://docs.rs/power-protobuf" readme = "README.md" license = "MIT" repository = "https://github.com/powermacros/power-protobuf" [lib] name = "power_porotbuf" path = "src/lib.rs" proc-macro = true [[example]] name = "helloworld" [[example]] name = "multiprotos" [dependencies.power-protobuf-lib] version = "0.1.11" [dependencies.proc-macro2] version = "1" features = ["span-locations"] [dependencies.quote] version = "1" [dependencies.syn] version = "2" features = [ "full", "extra-traits", ] [dev-dependencies.http] version = "1.1.0" [dev-dependencies.prost] version = "0.12.4" [dev-dependencies.prost-types] version = "0.12.4" [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.tokio] version = "1.37.0" features = [ "rt-multi-thread", "macros", ] [dev-dependencies.tonic] version = "0.11.0" [features] default = [ "impl_prost", "tagless", "simplize_rpc_params", "derive_serde", ] derive_serde = ["power-protobuf-lib/derive_serde"] impl_prost = ["power-protobuf-lib/impl_prost"] impl_protobuf_rs = ["power-protobuf-lib/impl_protobuf_rs"] simplize_rpc_params = ["power-protobuf-lib/simplize_rpc_params"] tagless = ["power-protobuf-lib/tagless"]