Cryptography is considered to be one of the best application of rust. So I was wondering what cryptography crates people usually use. I see many crates that are abandoned, and other discussions I found on this topic are 2+ years old.

  • Ephera@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    I only managed to do it thanks to cargo zigbuild which is amazing. (And kind of embarrassing that Rust has to use Zig to get a nice cross-compiling UX, but hey it works.)

    As in cross didn’t work for this?

    • FizzyOrange@programming.dev
      link
      fedilink
      arrow-up
      0
      ·
      7 days ago

      cross requires Docker which is a really awkward dependency, especially on Windows and Mac, or if you’re already in Docker, e.g. in CI or a dev container.

      Plus it’s quite slow. Cargo zigbuild was a much nicer solution when I finally resorted to it. Zig is easy to install, even on Debian - just download and untar.