Article View: linux.debian.bugs.dist
Article #508Bug#1150612: rust-rustls: Missing librust-rustls-0.23+default-dev provide
From: Jonas Smedegaard
Date: Sun, 11 Oct 2026 16:20
Date: Sun, 11 Oct 2026 16:20
108 lines
6279 bytes
6279 bytes
--===============7617462550106237178==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Quoting kpcyrd (2026-10-11 17:57:42)
> On 10/11/26 1:56 PM, Jonas Smedegaard wrote:
> > Quoting kpcyrd (2026-10-11 13:25:09)
> > =20
> >> Please add a +default provides so dependency resolution works for
> >> crates that depend on rustls with default features, and no other
> >> feature enabled.
> >=20
> > It is true that the Debian packaging of rustls does not provide the
> > "default" feature.
> >=20
> > I will be happy to offer that feature when in fact it is available.
>=20
> I'm not sure I understand, depending on rustls with default features is=20
> perfectly valid:
>=20
> cargo new test123 && cd test123 && echo 'rustls =3D "0.23"' >> Cargo.toml=
&& cargo=20
> build
>=20
> > I will not, however, claim it being available before it truly is, in
> > the contained crate.
> >=20
> > If your package succeeds with a fake declaration, then please consider
> > adjusting your package, as that is proof that your package does not, in
> > fact, require "default" from rustls.
>=20
> I've tried to work around this by turning on a feature, but this doesn't =
turn=20
> off the `default` feature dependency:
>=20
> ```
> Depends:
> ${misc:Depends},
> librust-base64-0.22+default-dev,
> librust-log-0.4+default-dev,
> librust-native-tls-0.2+default-dev,
> librust-openssl-0.10+default-dev (>=3D 0.10.29),
> librust-openssl-0.10+vendored-dev (>=3D 0.10.29),
> librust-openssl-probe-0.2+default-dev,
> librust-punycode-0.4+default-dev (>=3D 0.4.1),
> librust-rustls-0.23+default-dev (>=3D 0.23.35),
> librust-rustls-0.23+ring-dev (>=3D 0.23.35),
> librust-rustls-platform-verifier-0.6+default-dev (>=3D 0.6.2),
> librust-serde-1+default-dev (>=3D 1.0.101),
> librust-serde-json-1+default-dev,
> librust-urlencoding-2+default-dev (>=3D 2.1.0)
> ```
>=20
> The default feature set is always available in Rust and always enabled un=
less=20
> `default-features =3D false` is added:
>=20
> https://doc.rust-lang.org/cargo/reference/features.html#the-default-featu=
re
>=20
> You are allowed to make opinionated choices like "the default feature set=
should=20
> use the ring feature instead of the aws-lc-sys feature", that would be be=
tter=20
> than making every package patch in `default-features =3D false` and come =
up with=20
> their own sensible list of rustls default features.
I agree that I am allowed to deviate from upstream, but disagree that
it is sensible - I would consider that a fork, which I am not willing
to maintain:
If I patch rustls to use ring by default, then any downstream consumer
of rustls that expects aws-lc-sys to be in use will fail.
- Jonas
--=20
* 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
--===============7617462550106237178==
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: signature
Content-Type: application/pgp-signature; name="signature.asc"; charset="us-ascii"
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEn+Ppw2aRpp/1PMaELHwxRsGgASEFAmrLtOcACgkQLHwxRsGg
ASENWw/+KFuJFJGsR1P48tw2UdUfIZJ7f8/FR6NZbV+qBg05bWyVqvJM2nn7svVx
PVTf3C5l8/8VLv1J0HFIxEaOV9vNktbbqK1NsDrpMaG2HePdfU1f5rgC74fzZZKg
4Stc/HieArU+6g/jj55HQ3M6m1K/DOPNEJ5fswaQkW3otnwOpOc/7GkR11ldLR8l
2Q0jLqAPMaj+IT2hA23G+azdw+YyOgAqBYbCDHNPCKZlSTcWEJdTtDPQpdOKa4kN
UOxC2Y9rBL2yFMBukmvdb6+yesyi3pfJWfXQME6XcFOTAQuHm7cRBnXwmAAsgW9L
Sh1ZiZDizpXy20zs1UaLHoPxxmZ5Eo7Dfxi/0QVXr6oHzcZW1gBn+yV5qswY6QHa
M1AoBhhe5lshhoVI4YlAD8N366xcJBPQ7UzViE4Ow48sVIzoPm8Gs+dSPgDP7b67
kZF6Cw1whXk32AgFwG47EgzLMK0yGP6LBSor5KVbEsLMOsi9+Zt+XBDXXwOiL21P
58g6vamL07Ucp9Alkx17KSip0bGSU9o48COE9gkW0TtXQxWD7pSur2o/AEh9D3PG
f7R5vYr6g/dJlEzgylTyHX/rSNqfDOGKDs/1+rXFZwSIqQiS9IQR7iSGcendy8P2
fUYGBAp1SHJHpA+5m18hKGqbXGR1tyUS+KTsp5Q/ixfCS9eFn0k=
=I8IO
-----END PGP SIGNATURE-----
--===============7617462550106237178==--
Technical Details
Message-ID:
<NN4rf-4UDm-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodReferences:
<NMZUB-4Sfw-5@gated-at.bofh.it> <NN0nE-4Sq7-35@gated-at.bofh.it> <NN47T-4Unf-11@gated-at.bofh.it> <NMZUB-4Sfw-5@gated-at.bofh.it> <NN47T-4Unf-11@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Jonas Smedegaard <jonas@jones.dk> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150612: rust-rustls: Missing librust-rustls-0.23+default-dev provide Date: Sun, 11 Oct 2026 18:20:01 +0200 Message-ID: <NN4rf-4UDm-9@gated-at.bofh.it> References: <NMZUB-4Sfw-5@gated-at.bofh.it> <NN0nE-4Sq7-35@gated-at.bofh.it> <NN47T-4Unf-11@gated-at.bofh.it> <NMZUB-4Sfw-5@gated-at.bofh.it> <NN47T-4Unf-11@gated-at.bofh.it> X-Original-To: 1150612@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Sun Oct 11 16:11:10 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.651 Reply-To: Jonas Smedegaard <jonas@jones.dk>, 1150612@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: kpcyrd@archlinux.org, dr@jones.dk X-Debian-Pr-Message: followup 1150612 X-Debian-Pr-Package: rust-rustls X-Debian-Pr-Source: rust-rustls Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="===============7617462550106237178==" MIME-Version: 1.0 Content-Disposition: inline User-Agent: alot/0.12 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996270 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 108 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 11 Oct 2026 18:10:18 +0200 X-Original-Message-ID: <179173501834.860370.7741504930334175545@cairon.jones.dk> X-Original-References: <ba695253-6b61-409c-a757-a5fa7ce77407@archlinux.org> <179171976764.860370.9022948676847159300@cairon.jones.dk> <9195ddf8-039f-4fe4-a75d-01a367fb0191@archlinux.org> <ba695253-6b61-409c-a757-a5fa7ce77407@archlinux.org> <9195ddf8-039f-4fe4-a75d-01a367fb0191@archlinux.org>