Code Monkey home page Code Monkey logo

Comments (2)

kornelski avatar kornelski commented on August 26, 2024 1

If distros prefer to package old versions of Rust and Cargo, I suggest they should also package old versions cargo-crev.

We need to keep the cargo dependency relatively up to date, as otherwise we risk problems with parsing Cargo.toml of crates that use newer Cargo features (and probably other files like .cargo/config or registry cache). Cargo only cares about supporting the latest-stable Rust. In practice it's sometimes compatible with a few versions behind, but nowhere near as old as Debian requires. Many other dependencies don't support Debian either.

I'm afraid that Debian's situation is hopeless and unfixable. Debian has its own reasons for keeping software "stable", and the Rust project has its own reasons for keeping software "evergreen". It doesn't matter which is the better approach, but they just don't work together. Trying to satisfy both opposing strategies creates a lot of tension and extra work for everybody involved. The situation is pretty bad and won't get better until either Debian starts updating Rust frequently, or the Rust project starts designating some LTS versions.

from cargo-crev.

Kixunil avatar Kixunil commented on August 26, 2024

Oh, crap, good point about cargo dependency. Even packaging older version is not great for the same reason.

The only other viable approach I see is to release signed binaries and perhaps have a small program that can automatically download and upgrade them. This program itself could be packaged (not sure if it could in official Debian repo though). I've seen a similar technique employed by torbrowser on whonix - they also can't package it properly for reason I don't know but the way it works is if you apt upgrade the dummy package it'll just download the latest torbrowser in postinst.

from cargo-crev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.