Skip to content

Commit

Permalink
Replace derive_deref with derive_more (#10192)
Browse files Browse the repository at this point in the history
The former hasn't had a commit in 4 years, while the latter is properly maintained and might potentially unlock other useful derives.
  • Loading branch information
Turbo87 authored Dec 12, 2024
1 parent 8c89f0d commit e0f2246
Show file tree
Hide file tree
Showing 7 changed files with 55 additions and 57 deletions.
102 changes: 50 additions & 52 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 Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ chrono = { version = "=0.4.39", default-features = false, features = ["serde"] }
clap = { version = "=4.5.23", features = ["derive", "env", "unicode", "wrap_help"] }
cookie = { version = "=0.18.1", features = ["secure"] }
deadpool-diesel = { version = "=0.6.1", features = ["postgres", "tracing"] }
derive_deref = "=1.1.1"
derive_more = { version = "=1.0.0", features = ["deref"] }
dialoguer = "=0.11.0"
diesel = { version = "=2.2.6", features = ["postgres", "serde_json", "chrono", "numeric"] }
diesel-async = { version = "=0.5.2", features = ["async-connection-wrapper", "deadpool", "postgres"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/crates_io_cdn_logs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ workspace = true
anyhow = "=1.0.94"
async-compression = { version = "=0.4.18", features = ["gzip", "tokio", "zstd"] }
chrono = { version = "=0.4.39", features = ["serde"] }
derive_deref = "=1.1.1"
derive_more = { version = "=1.0.0", features = ["deref"] }
percent-encoding = "=2.3.1"
semver = "=1.0.24"
serde = { version = "=1.0.216", features = ["derive"] }
Expand Down
2 changes: 1 addition & 1 deletion crates/crates_io_cdn_logs/src/download_map.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use chrono::NaiveDate;
use derive_deref::Deref;
use derive_more::Deref;
use semver::Version;
use std::collections::{HashMap, HashSet};
use std::fmt::Debug;
Expand Down
Loading

0 comments on commit e0f2246

Please sign in to comment.