From 2925a5fb18d09673e23393703416497c04ee9f71 Mon Sep 17 00:00:00 2001 From: Alex Snaps Date: Wed, 10 Jan 2024 13:42:48 -0500 Subject: [PATCH] Fixed some pub use --- src/envoy/mod.rs | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/src/envoy/mod.rs b/src/envoy/mod.rs index 7be7ea58..68e18d60 100644 --- a/src/envoy/mod.rs +++ b/src/envoy/mod.rs @@ -31,23 +31,9 @@ mod token_bucket; mod value; pub use { - address::{ - Address, Address_oneof_address, SocketAddress, SocketAddress_Protocol, - SocketAddress_oneof_port_specifier as SocketAddress_port, - }, - attribute_context::{ - AttributeContext, AttributeContext_HttpRequest, AttributeContext_Peer, - AttributeContext_Request, - }, - base::HeaderValue, - base::Metadata, - external_auth::{CheckRequest, CheckResponse}, ratelimit::{RateLimitDescriptor, RateLimitDescriptor_Entry}, rls::{RateLimitRequest, RateLimitResponse, RateLimitResponse_Code}, - route_components::{ - HeaderMatcher, HeaderMatcher_oneof_header_match_specifier as HeaderMatcher_specifier, - RateLimit_Action, RateLimit_Action_oneof_action_specifier as RLA_action_specifier, - }, - string::StringMatcher_oneof_match_pattern as StringMatcher_pattern, - timestamp::Timestamp, }; + +#[cfg(test)] +pub use base::HeaderValue;