Skip to content

Commit

Permalink
chore(test): Resolve unused import warning without compression feature (
Browse files Browse the repository at this point in the history
  • Loading branch information
tottoto authored Dec 14, 2024
1 parent 40fb659 commit dad78bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tonic/src/codec/compression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ pub enum SingleMessageCompressionOverride {

#[cfg(test)]
mod tests {
#[cfg(any(feature = "gzip", feature = "zstd"))]
use http::HeaderValue;

use super::*;
Expand Down

0 comments on commit dad78bf

Please sign in to comment.