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

Commits on Oct 28, 2024

  1. rust: Specify minimum dependency versions

    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
    g2p committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    086fb7f View commit details
    Browse the repository at this point in the history
  2. Update to bitflags 2

    bch_bindgen -> bindgen already requires bitflags 2,
    so this can eliminate a duplicate dependency.
    g2p committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    2e0e491 View commit details
    Browse the repository at this point in the history
  3. Upgrade to errno 0.3

    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.
    g2p committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    19848da View commit details
    Browse the repository at this point in the history
  4. Remove unnecessary dependency

    Found with cargo-machete.
    g2p committed Oct 28, 2024
    Configuration menu
    Copy the full SHA
    c749ce9 View commit details
    Browse the repository at this point in the history