Skip to content

Commit

Permalink
Bump derive_more from 0.99.18 to 1.0.0 (#1138)
Browse files Browse the repository at this point in the history
Bumps derive_more from 0.99.18 to 1.0.0.
  • Loading branch information
dependabot[bot] authored Aug 31, 2024
1 parent 40e8e4a commit 922ee45
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 41 deletions.
33 changes: 7 additions & 26 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bench/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2021"
async-trait = "0.1.80"
clap = { version = "4.5.4", features = ["derive"] }
colored = "2.0.4"
derive_more = "0.99.18"
derive_more = "1.0.0"
figlet-rs = "0.1.5"
futures = "0.3.30"
human_format = "1.1.0"
Expand Down
8 changes: 4 additions & 4 deletions bench/src/args/simple.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ use derive_more::Display;

#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash, Display)]
pub enum BenchmarkKind {
#[display(fmt = "send messages")]
#[display("send messages")]
Send,
#[display(fmt = "poll messages")]
#[display("poll messages")]
Poll,
#[display(fmt = "send and poll messages")]
#[display("send and poll messages")]
SendAndPoll,
#[display(fmt = "consumer group poll")]
#[display("consumer group poll")]
ConsumerGroupPoll,
}
2 changes: 1 addition & 1 deletion integration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ahash = { version = "0.8.11", features = ["serde"] }
assert_cmd = "2.0.14"
async-trait = "0.1.80"
bytes = "1.6.0"
derive_more = "0.99.18"
derive_more = "1.0.0"
futures = "0.3.30"
humantime = "2.1.0"
iggy = { path = "../sdk", features = ["iggy-cli"] }
Expand Down
12 changes: 6 additions & 6 deletions integration/src/test_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,25 +43,25 @@ pub trait ClientFactory: Sync + Send {

#[derive(Debug, Clone, Copy, PartialEq, Display)]
pub enum Transport {
#[display(fmt = "http")]
#[display("http")]
Http,

#[display(fmt = "quic")]
#[display("quic")]
Quic,

#[display(fmt = "tcp")]
#[display("tcp")]
Tcp,
}

#[derive(Display, Debug)]
enum ServerProtocolAddr {
#[display(fmt = "RAW_TCP:{_0}")]
#[display("RAW_TCP:{_0}")]
RawTcp(SocketAddr),

#[display(fmt = "HTTP_TCP:{_0}")]
#[display("HTTP_TCP:{_0}")]
HttpTcp(SocketAddr),

#[display(fmt = "QUIC_UDP:{_0}")]
#[display("QUIC_UDP:{_0}")]
QuicUdp(SocketAddr),
}

Expand Down
2 changes: 1 addition & 1 deletion server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ bytes = "1.6.0"
clap = { version = "4.5.4", features = ["derive"] }
console-subscriber = { version = "0.2.0", optional = true }
dashmap = "6.0.1"
derive_more = "0.99.18"
derive_more = "1.0.0"
figlet-rs = "0.1.5"
figment = { version = "0.10.18", features = ["json", "toml", "env"] }
flume = "0.11.0"
Expand Down
4 changes: 2 additions & 2 deletions server/src/archiver/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ use std::str::FromStr;
#[serde(rename_all = "lowercase")]
pub enum ArchiverKind {
#[default]
#[display(fmt = "disk")]
#[display("disk")]
Disk,
#[display(fmt = "s3")]
#[display("s3")]
S3,
}

Expand Down

0 comments on commit 922ee45

Please sign in to comment.