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

resolves cargo audit issues, make crate buildable, migrate to clap v4 #54

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

Conversation

klensy
Copy link

@klensy klensy commented Sep 5, 2024

In few commits this allows to build crate on current rust (on windows), fixes cargo audit, migrates to clap v4 and removes some deps around by bumping other ones.

--help output will differ from previous, but should still output the same info as before.

cannot transmute between types of different sizes, or dependently-sized types
   --> C:\Users\user\.cargo\registry\src\index.crates.io-6f17d22bba15001f\socket2-0.3.12\src\sockaddr.rs:176:9
    |
176 |         mem::transmute::<SocketAddrV4, sockaddr_in>(v4);
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: source type: `SocketAddrV4` (48 bits)
    = note: target type: `SOCKADDR_IN` (128 bits)

$ cargo update -p socket2
    Updating crates.io index
     Locking 2 packages to latest compatible versions
      Adding cfg-if v1.0.0
    Updating socket2 v0.3.12 -> v0.3.19 (latest: v0.5.7)

error: failed to run custom build command for `lzma-sys v0.1.16`

$ cargo update -p lzma-sys
    Updating crates.io index
     Locking 1 package to latest compatible version
    Updating lzma-sys v0.1.16 -> v0.1.20

$ cargo update -p cc
    Updating crates.io index
     Locking 2 packages to latest compatible versions
    Updating cc v1.0.55 -> v1.1.16
      Adding shlex v1.3.0
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