[Pkg-rust-maintainers] Bug#1140545: please drop this source package which duplicates src:rust-tonic
Ying-Chun Liu (PaulLiu)
paulliu at debian.org
Sat Aug 15 21:58:07 BST 2026
Hi Jonas,
Yes, I'll remove this package.
As I told you in the DebConf, I just want to package nostr relay program.
And rust-tonic is just one of the dependencies (3 or 4 layers deep maybe).
So I don't intent to hijack it.
I'll just remove this package anyway. And seek how to use rust-tonic
with prost.
Yours,
Paul
On 8/15/26 4:17 PM, Jonas Smedegaard wrote:
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0x44173FA13D058888.asc
Type: application/pgp-keys
Size: 7875 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20260815/7f604238/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20260815/7f604238/attachment.sig>
More information about the Pkg-rust-maintainers
mailing list