Skip to content

Commit

Permalink
chore: minor update
Browse files Browse the repository at this point in the history
Co-authored-by: fys <[email protected]>
  • Loading branch information
shuiyisong and fengys1996 authored May 22, 2024
1 parent 3bc1c51 commit b9c9ebf
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,19 +85,14 @@ impl ClientBuilder {
}
}

#[derive(Debug, Clone)]
#[derive(Debug, Clone, Default)]
pub enum Compression {
#[default]
Gzip,
Zstd,
None,
}

impl Default for Compression {
fn default() -> Self {
Self::Gzip
}
}

#[derive(Debug, Default, Builder)]
struct Inner {
channel_manager: ChannelManager,
Expand Down

0 comments on commit b9c9ebf

Please sign in to comment.