Skip to content

Commit

Permalink
chore: update to v1 of derive more
Browse files Browse the repository at this point in the history
  • Loading branch information
da2ce7 committed Aug 25, 2024
1 parent c5a724e commit 2c4bdab
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 14 deletions.
28 changes: 18 additions & 10 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 @@ -41,7 +41,7 @@ chrono = { version = "0", default-features = false, features = ["clock"] }
clap = { version = "4", features = ["derive", "env"] }
crossbeam-skiplist = "0"
dashmap = "6"
derive_more = "0"
derive_more = { version = "1", features = ["as_ref", "constructor", "from"] }
figment = "0"
futures = "0"
futures-util = "0"
Expand Down
2 changes: 1 addition & 1 deletion packages/configuration/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ version.workspace = true

[dependencies]
camino = { version = "1", features = ["serde", "serde1"] }
derive_more = "0"
derive_more = { version = "1", features = ["constructor", "display"] }
figment = { version = "0", features = ["env", "test", "toml"] }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1", features = ["preserve_order"] }
Expand Down
2 changes: 1 addition & 1 deletion packages/configuration/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pub const LATEST_VERSION: &str = "2.0.0";

/// Info about the configuration specification.
#[derive(Serialize, Deserialize, PartialEq, Eq, Debug, Display, Clone)]
#[display(fmt = "Metadata(app: {app}, purpose: {purpose}, schema_version: {schema_version})")]
#[display("Metadata(app: {app}, purpose: {purpose}, schema_version: {schema_version})")]
pub struct Metadata {
/// The application this configuration is valid for.
#[serde(default = "Metadata::default_app")]
Expand Down
2 changes: 1 addition & 1 deletion packages/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ version.workspace = true
[dependencies]
aquatic_udp_protocol = "0"
binascii = "0"
derive_more = "0"
derive_more = { version = "1", features = ["constructor"] }
serde = { version = "1", features = ["derive"] }
tdyne-peer-id = "1"
tdyne-peer-id-registry = "0"
Expand Down

0 comments on commit 2c4bdab

Please sign in to comment.