Skip to content

chore(deps): update#454

Open
CosminPerRam wants to merge 7 commits into
keepsimple1:mainfrom
CosminPerRam:chore_update_deps
Open

chore(deps): update#454
CosminPerRam wants to merge 7 commits into
keepsimple1:mainfrom
CosminPerRam:chore_update_deps

Conversation

@CosminPerRam

@CosminPerRam CosminPerRam commented Apr 5, 2026

Copy link
Copy Markdown
Contributor

Also removes test-log-macros as we are on 1.71 now.
Not sure why we had fastrand defined again in dev-deps (as its already in deps), #455 removes its usage in tests.

Comment thread tests/mdns_test.rs Outdated
fn timed_println(msg: String) {
let now = SystemTime::now();
let formatted_time = humantime::format_rfc3339(now);
let formatted_time = jiff::Timestamp::now().to_string();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This produces
2026-04-05T19:18:51.276776100Z
instead of before
2026-04-05T19:18:51.276776Z
... which I don't think its a problem necessarily.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Like you mentioned, it's not a problem. I.e. I don't think we need to introduce jiff, which brings in more dependencies. humantime has no dependency.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I swapped humantime with jiff because its being used in the latest release of env_logger, so its actually one less dependency.

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it. Since env_logger is for testing only, I think it's OK for it staying with the current version. Can you please remove the update for env_logger, and hence no need to add jiff ?

The rest LGTM. Thanks!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The replacement of humantime has been done in 0.11.7, so I've pinned the version to 0.11.6, please mention if I should roll it back completely anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants