* [bug#45783] [PATCH] doc: Update guidance about Rust package nameing.
@ 2021-01-11 14:33 Hartmut Goebel
[not found] ` <handler.45783.B.161037564313337.ack@debbugs.gnu.org>
0 siblings, 1 reply; 2+ messages in thread
From: Hartmut Goebel @ 2021-01-11 14:33 UTC (permalink / raw)
To: 45783
* doc/contributing.texi (Rust Crates): Explain versions suffix based on
packages version and Crate "caret" versioning.
---
doc/contributing.texi | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/contributing.texi b/doc/contributing.texi
index d0ab08336a..b76f118369 100644
--- a/doc/contributing.texi
+++ b/doc/contributing.texi
@@ -802,10 +802,10 @@ To prevent namespace collisions we prefix all other Rust packages with the
dashes should remain in place.
In the rust ecosystem it is common for multiple incompatible versions of a
-package to be used at any given time, so all packages should have a versioned
-suffix. If a package has passed version 1.0.0 then just the major version
-number is sufficient (e.g.@: @code{rust-clap-2}), otherwise the version suffix
-should contain both the major and minor version (e.g.@: @code{rust-rand-0.6}).
+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 (and
+any leading zeros, of course). This follows the ``caret'' version scheme
+intended by Cargo. Examples@: @code{rust-clap-2}, @code{rust-rand-0.6}.
Because of the difficulty in reusing rust packages as pre-compiled inputs for
other packages the Cargo build system (@pxref{Build Systems,
--
2.21.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#45783: Acknowledgement ([PATCH] doc: Update guidance about Rust package nameing.)
[not found] ` <handler.45783.B.161037564313337.ack@debbugs.gnu.org>
@ 2021-01-29 21:52 ` Hartmut Goebel
0 siblings, 0 replies; 2+ messages in thread
From: Hartmut Goebel @ 2021-01-29 21:52 UTC (permalink / raw)
To: 45783-close
pushed as 784048c27b90e32814f6d06363f94fb3f9bf0a6d
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-29 21:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-11 14:33 [bug#45783] [PATCH] doc: Update guidance about Rust package nameing Hartmut Goebel
[not found] ` <handler.45783.B.161037564313337.ack@debbugs.gnu.org>
2021-01-29 21:52 ` bug#45783: Acknowledgement ([PATCH] doc: Update guidance about Rust package nameing.) Hartmut Goebel
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).