From d8b5b19989fd91689b336bf0eb806e9bad4e9797 Mon Sep 17 00:00:00 2001 From: Nitesh Balusu Date: Sat, 14 Sep 2024 22:28:03 -0400 Subject: [PATCH] expose prost --- Cargo.toml | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index a006d74..8e01908 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,13 +19,13 @@ tonic = "0.7" tonic-openssl = { version = "0.2" } hyper = "0.14" hyper-openssl = "0.9" -prost = "0.10" tokio = { version = "1.40", features = ["rt-multi-thread", "macros"] } tokio-stream = { version = "0.1.16", features = ["net"] } openssl = "0.10.66" tower = "0.5.0" pretty_env_logger = "0.5.0" hex = "0.4.3" +prost = { version = "0.10", features = ["prost-derive"] } [build-dependencies] tonic-build = "0.7" diff --git a/src/lib.rs b/src/lib.rs index 52e1e55..c650a7e 100755 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,6 +9,7 @@ use std::{error::Error, task::Poll}; use tonic::body::BoxBody; use tonic_openssl::ALPN_H2_WIRE; use tower::Service; +pub use prost; pub mod autopilotrpc { tonic::include_proto!("autopilotrpc");