[Pkg-rust-maintainers] Bug#1140545: please drop this source package which duplicates src:rust-tonic

Jonas Smedegaard dr at jones.dk
Sat Aug 15 16:17:59 BST 2026


Hi PaulLiu,

PaulLiu <pauliu at debian.org> wrote:
> Can you explain this a bit? I'm still new to Rust.
> 
> From crates.io, tonic and tonic-prost are different crates.
> And tonic 0.12.* depends on prost.
> But on tonic 0.14.6, it didn't depend on prost.
> 
> Does that mean if we update tonic to 0.14, then we need to package
> this anyway?

Sorry for my late response (and thanks to Blair for bringing my
attention to it): I had totally missed your email until now.

Yes, they are different crates, but part of same source project.

A crate is a packaging artifact in the crates.io distribution system.
Debian packages upstream preferred form for editing as a source package
and generates one or more binary packages from that source package.
Crates are sometimes similar to Debian source packages but they are not
upstream preferred form for editing, and for some upstream projects the
crate is not even close to being upstream preferred form for editing.

The Rust team tries to simplify maintenance of Rust code by attempting
to correlate crate.io and Debian packaging units. Sometimes it sort of
works, but sometimes it does not fit. Here it does not make sense to
look at crates: The tonic project is a set of multiple crates, and I
have packaged that in Debian as that set. It is wrong of others in
Debian to package the same thing again and calling it something else -
we call such an act "hijacking".

I am sure you did not intent to hijack the package that I maintain. It
seems from your question that you were not even aware that you were
working on the same thing as me. That confusion is a side-effect of the
Rust team simplification of their processes - but the Rust team is a
subset of Debian, and I am not part of the Rust team: They are free to
call a package a crate or call a crate a package, inside their team,
but I outside the team - in Debian - there is no such thing as a crate,
there are source packages corresponding to upstream preferred form for
editing, and there are binary packages. The upstream preferred form for
editing called "tonic" is already packaged, by me, as the source
package "rust-tonic" - please drop the duplicate work called
"rust-tonic-prost" because it really corresponds to the same upstream
preferred form for editing as the one I am maintaining.

Hope that makes sense.

Kind regards,

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20260815/fb40d78e/attachment.sig>


More information about the Pkg-rust-maintainers mailing list