Skip to content
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

Rust dependency cleanups and minimum requirements #336

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

g2p
Copy link

@g2p g2p commented Sep 8, 2024

Here are a handful of clean ups to the Cargo.toml
Most important is to correctly specify minimal dependencies.
Also upgrade two outdated dependencies when we already require the newer versions indirectly.

These are the minimum versions so the source compiles.
Verified with:

    cargo +nightly update -Zminimal-versions --offline --verbose
    cargo update -p regex-syntax --precise=0.6.25
    cargo check
bch_bindgen -> bindgen already requires bitflags 2,
so this can eliminate a duplicate dependency.
No impact.  We could also pick the 0.2-0.3 range to help distributions,
but debian already has 0.3.

We already require errno 0.3 through rustix,
so this can eliminate a duplicate dependency.
Found with cargo-machete.
@g2p
Copy link
Author

g2p commented Oct 28, 2024

Ping? This will be useful for packagers

@g2p g2p changed the title Dependency cleanups Rust dependency cleanups and minimum requirements Oct 28, 2024
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.

1 participant