Skip to content

Conversation

@klensy
Copy link
Contributor

@klensy klensy commented Jul 5, 2025

This resolves few cargo audit issues and drops few deps around.

Btw, should i replace sha1 with sha256 check instead? github suggest to do it https://docs.github.com/en/webhooks/webhook-events-and-payloads#delivery-headers

klensy added 4 commits July 5, 2025 20:33
Crate:     openssl
Version:   0.10.68
Title:     ssl::select_next_proto use after free
Date:      2025-02-02
ID:        RUSTSEC-2025-0004
URL:       https://rustsec.org/advisories/RUSTSEC-2025-0004
Solution:  Upgrade to >=0.10.70

Crate:     openssl
Version:   0.10.68
Title:     Use-After-Free in `Md::fetch` and `Cipher::fetch`
Date:      2025-04-04
ID:        RUSTSEC-2025-0022
URL:       https://rustsec.org/advisories/RUSTSEC-2025-0022
Solution:  Upgrade to >=0.10.72

Crate:     tokio
Version:   1.39.2
Warning:   unsound
Title:     Broadcast channel calls clone in parallel, but does not require `Sync`
Date:      2025-04-07
ID:        RUSTSEC-2025-0023
URL:       https://rustsec.org/advisories/RUSTSEC-2025-0023
reduce deps and fixes

Crate:     proc-macro-error
Version:   1.0.4
Warning:   unmaintained
Title:     proc-macro-error is unmaintained
Date:      2024-09-01
ID:        RUSTSEC-2024-0370
URL:       https://rustsec.org/advisories/RUSTSEC-2024-0370
@klensy
Copy link
Contributor Author

klensy commented Jul 5, 2025

benchlib pulls clap which affects lock files for runtime benches.

@Kobzol
Copy link
Member

Kobzol commented Jul 5, 2025

The updated lockfiles need to be committed.

Btw, should i replace sha1 with sha256 check instead? github suggest to do it https://docs.github.com/en/webhooks/webhook-events-and-payloads#delivery-headers

Yeah, that would be nice! Please open a separate PR for that, if you want.

Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Nice to get rid of ring! I don't think we have to get so draconian about pinning dependency versions though.

Cargo.toml Outdated
chrono = "0.4"
clap = "4.1"
# this is latest version with small number of deps
clap = "=4.1.14"
Copy link
Member

Choose a reason for hiding this comment

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

I don't think that reducing the number of deps is so critical here that we would need to pin specific versions, that should be left to really rare circimstances. Just leave it at "4".

Copy link
Contributor Author

Choose a reason for hiding this comment

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

One of sources of dep number increase here #2034 (comment) was clap, so i tried to prevent it. Ok.

Copy link
Member

@Kobzol Kobzol left a comment

Choose a reason for hiding this comment

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

Thanks!

@Kobzol Kobzol enabled auto-merge July 5, 2025 19:20
@Kobzol Kobzol merged commit c670a43 into rust-lang:master Jul 5, 2025
11 checks passed
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