[Pkg-rust-maintainers] Bug#1140545: please drop this source package which duplicates src:rust-tonic
Blair Noctis
ncts at debian.org
Sat Aug 15 15:24:33 BST 2026
-> PaulLiu <pauliu at debian.org>, 2026-06-24T01:13:54+0100 ->
> Hi Jonas,
>
> 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?
>
> Yours,
> Paul
It's not about Rust, it's about how Debian's Rust packaging works, and the
current, somewhat less optimal scene.
There are two ways to package Rust things in Debian; the Debian Rust team uses
an "unconventional" workflow, while some others, along with some in the Rust
team who are not satisfied with that, use a more "conventional" workflow.
Jonas goes conventional. He packages the entire tonic workspace, including but
not limited to tonic, tonic-build, and, among others, tonic-prost.
Your words indicate that you only ever got to know about the Rust team's
workflow. It's not your problem per se, there is a lack of communication
between those two crowds, and there's no indication that a Rust team member,
or, someone going the team's unconventional flow, should avoid packaging tonic
crates.
I do, however, question why you uploaded it while not even familiar with the
Rust team's workflow, as evidenced by [MR#1205].
Please be respectful to things you aren't familiar with, and ask around to get
an idea of what you are doing before taking any material actions.
[MR#1205]: https://salsa.debian.org/rust-team/debcargo-conf/-/merge_requests/1205
--
,Sdrager
Blair Noctis
🇵🇸
More information about the Pkg-rust-maintainers
mailing list