Skip to content

Commit

Permalink
Fixed some pub use
Browse files Browse the repository at this point in the history
  • Loading branch information
alexsnaps committed Jan 10, 2024
1 parent 881f477 commit 5e5fff2
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions src/envoy/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,11 @@ mod timestamp;
mod token_bucket;
mod value;

#[allow(unused_imports)]
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;

0 comments on commit 5e5fff2

Please sign in to comment.