Skip to content

Commit 2242ff9

Browse files
committed
chore: update to v1 of derive more
1 parent 514cb0a commit 2242ff9

File tree

5 files changed

+22
-14
lines changed

5 files changed

+22
-14
lines changed

Cargo.lock

Lines changed: 18 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ chrono = { version = "0", default-features = false, features = ["clock"] }
4141
clap = { version = "4", features = ["derive", "env"] }
4242
crossbeam-skiplist = "0"
4343
dashmap = "6"
44-
derive_more = "0"
44+
derive_more = { version = "1", features = ["constructor", "from","as_ref"] }
4545
figment = "0"
4646
futures = "0"
4747
futures-util = "0"

packages/configuration/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ version.workspace = true
1616

1717
[dependencies]
1818
camino = { version = "1", features = ["serde", "serde1"] }
19-
derive_more = "0"
19+
derive_more = { version = "1", features = ["constructor", "display"] }
2020
figment = { version = "0", features = ["env", "test", "toml"] }
2121
serde = { version = "1", features = ["derive"] }
2222
serde_json = { version = "1", features = ["preserve_order"] }

packages/configuration/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ pub const LATEST_VERSION: &str = "2.0.0";
5151

5252
/// Info about the configuration specification.
5353
#[derive(Serialize, Deserialize, PartialEq, Eq, Debug, Display, Clone)]
54-
#[display(fmt = "Metadata(app: {app}, purpose: {purpose}, schema_version: {schema_version})")]
54+
#[display("Metadata(app: {app}, purpose: {purpose}, schema_version: {schema_version})")]
5555
pub struct Metadata {
5656
/// The application this configuration is valid for.
5757
#[serde(default = "Metadata::default_app")]

packages/primitives/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ version.workspace = true
1717
[dependencies]
1818
aquatic_udp_protocol = "0"
1919
binascii = "0"
20-
derive_more = "0"
20+
derive_more = {version = "1", features = ["constructor"]}
2121
serde = { version = "1", features = ["derive"] }
2222
tdyne-peer-id = "1"
2323
tdyne-peer-id-registry = "0"

0 commit comments

Comments
 (0)