# tonic-rest-core
[](https://crates.io/crates/tonic-rest-core)
[](https://docs.rs/tonic-rest-core)
[](LICENSE-MIT)
[](https://blog.rust-lang.org/2025/02/20/Rust-1.85.0.html)
Shared protobuf descriptor types for the [tonic-rest](https://github.com/zs-dima/tonic-rest) ecosystem.
This is an **internal crate** — it provides the custom `prost::Message` types
that preserve the `google.api.http` extension (field 72295728) which standard
`prost_types::MethodOptions` drops during decoding.
Both [`tonic-rest-build`](https://crates.io/crates/tonic-rest-build) and
[`tonic-rest-openapi`](https://crates.io/crates/tonic-rest-openapi) depend on
this crate to share a single set of descriptor types. You should not need to
depend on it directly — use the higher-level crates instead.
## License
[MIT](LICENSE-MIT) OR [Apache-2.0](LICENSE-APACHE)