-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: update dependencies #111
Conversation
if let Some(datetime) = | ||
NaiveDateTime::from_timestamp_opt(local_data.timestamp, 0) | ||
{ | ||
if let Some(datetime) = DateTime::from_timestamp(local_data.timestamp, 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was a suggested change due to deprecation of the previous method, it returns a DateTime which has the same behaviour as the NaiveDateTime for formatting (because the inner NaiveDateTime is the same and Utc offset is 0).
global_metadata: Option<PriceAccountMetadata>, | ||
local_data: Option<PriceInfo>, | ||
global_data: Option<PriceEntry>, | ||
_global_metadata: Option<PriceAccountMetadata>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused variable
@@ -17,7 +17,7 @@ use { | |||
}, | |||
toml_edit::{ | |||
value, | |||
Document, | |||
DocumentMut, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Document was deprecated and DocumentMut was recommended as a workaround.
This change updates the agent dependencies to their most recent version. Please see the inline comments on the code changes due to the upgrades for an explanation.