[Pkg-rust-maintainers] Bug#1013869: rust-reqwest: feature rustls-tls has disappeared
Jonas Smedegaard
dr at jones.dk
Mon Jun 27 01:15:50 BST 2022
Control: severity -1 serious
Quoting Peter Michael Green (2022-06-26 23:40:37)
>
> On 26/06/2022 18:40, Jonas Smedegaard wrote:
> > Quoting Peter Michael Green (2022-06-26 19:01:04)
> >> To enable rustls support with native or manual roots two crates which
> >> are not in Debian, tokio-rustls and hyper-rustls. For tokio-rustls
> >> Alexander Kjäll prepared a package, which I have just sponsored into
> >> NEW. I don't see any evidence that anyone is working on hyper-rustls
> >> however.
> > Not sure what you are saying above. Feature "rustls-native-certs" *is*
> > currently offered. Are you saying that that is broken until either of
> > tokio-rustls or hyper-rustls gets into Debian?!?
>
> In rust every optional dependency is automatically a "feature"
> even if it is not actually intended to be used as one by downstream
> crates.
>
> I could have stripped out the rustls stuff completely, in retrospect
> it would have been less confusing to do it that way, rather than
> what I did which was going through the unsatisfiable optional
> dependencies one by one patching out the optional depedency
> and the features that depend on it. This left some "orphan" optional
> dependencies which are satisfiable but aren't much use right now.
>
> Depending on the "rustls-native-certs" feature is not a route to
> functioning tls support.
>
Thanks for clarifying.
I consider it a *horrific* bug that an interface is explicitly
advertised as available, linking against it succeeds, yet it is
non-functional.
In my opinion this renders the whole package unsuitable for release, and
I hereby flag this bugreport as such.
Please as a minimum ensure that broken or missing features are *not*
advertised by the package.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[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/20220627/f51b1dae/attachment.sig>
More information about the Pkg-rust-maintainers
mailing list