• Miaou@jlai.lu
    link
    fedilink
    arrow-up
    2
    ·
    1 day ago

    Cargo does not respect lockfiles by default, AFAIK. You need to explicitly pass the --locked flag.

    • Technus@lemmy.zip
      link
      fedilink
      arrow-up
      1
      ·
      19 hours ago

      When you cargo install a binary, it ignores lockfiles. If you clone a project and build it, it respects the Cargo.lock that was checked in.