From 5f8ddca7b77e75bdc47477bcd09a7a1172de9252 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Mon, 9 Sep 2024 11:59:22 +0100 Subject: [PATCH] api: Re-export pbjson_types and tonic. Closes #504. --- api/rust/src/lib.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/api/rust/src/lib.rs b/api/rust/src/lib.rs index ceedd066..3c79fc71 100644 --- a/api/rust/src/lib.rs +++ b/api/rust/src/lib.rs @@ -1,4 +1,9 @@ +#[cfg(feature = "json")] +pub use pbjson_types; pub use prost; +#[cfg(feature = "api")] +pub use tonic; + #[cfg(feature = "api")] pub mod api; pub mod common;