help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Packaging a rust program with a lot of crates


From: Hartmut Goebel
Subject: Re: Packaging a rust program with a lot of crates
Date: Sun, 23 Jul 2023 14:46:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

Am 15.07.23 um 17:10 schrieb Paul Collignan:
It is a little bit different for Rust packages, as described in the 
documentation:
"In the rust ecosystem it is common for multiple incompatible versions of a package 
to be used at any given time, so all package definitions should have a versioned suffix. 
The versioned suffix is the left-most non-zero digit"
If I understand this correctly, one should keep all packages from 0.1 to 0.46 
(for example, if the versions are numbered like this). But from 1.1 to 1.46 you 
only keep the last one.

This is correct. Anyhow, please keep in mind that the variable name for the 1.x package will stay "some-crate-1".

This follows the idea of semantic versioning, which rust follows.

--
Regards
Hartmut Goebel

| Hartmut Goebel          | h.goebel@crazy-compilers.com               |
| www.crazy-compilers.com | compilers which you thought are impossible |




reply via email to

[Prev in Thread] Current Thread [Next in Thread]