Debian Patches

Status for rust-attohttpc/0.31.0-2

Patch Description Author Forwarded Bugs Origin Last update
auto/auto-remove-features.patch This patch was autogenerated using debcargo via `remove_features`. Do not edit manually! no
remove-webpki-roots.patch Remove webpki-roots dependency and inline __rustls-ring The webpki-roots crate is not packaged in Debian, so its dependency and
features are removed. The tls-rustls default is changed to native-roots.
.
__rustls-ring is removed by remove_features (debcargo.toml); its content
is inlined into tls-rustls-native-roots-ring. __rustls is kept because
it is the sole feature referencing dep:rustls — removing it would cause
debcargo to drop the rustls dependency entirely.
.
__rustls is also fixed to use ring+std+tls12 instead of rustls/default,
avoiding the aws-lc-rs C dependency not used by Debian's rustls package.

===================================================================
何庆 He Qing <heqing@rool.me> not-needed 2026-08-08
relax-deps.patch Relax native-tls version constraint to match Debian package Debian unstable ships librust-native-tls-dev version 0.2.14; upstream
requires 0.2.18. The API is compatible — no source changes needed.

===================================================================
何庆 He Qing <heqing@rool.me> not-needed 2026-08-08
enable-flate2-default-backend.patch Enable flate2 default features for standalone Debian testability Upstream sets default-features = false on flate2 because higher-level
features (compress, compress-zlib) each explicitly select a compression
backend. In Debian, the implicit flate2 optional-dependency feature must
be independently testable via autopkgtest. With no backend selected,
it fails with "No compression backend selected".
.
Setting default-features = true lets flate2 use its default backend
(miniz_oxide). The compress and compress-zlib features are unaffected:
they still explicitly select flate2/default and flate2/zlib respectively.

===================================================================
何庆 He Qing <heqing@rool.me> not-needed 2026-08-08
ignore-network-tests.patch Skip network-dependent TLS tests for isolated build environment Debian Policy §4.9 requires packages to build without network access. The
tests in test_invalid_certs.rs connect to badssl.com for TLS certificate
validation. These are individually skipped with #[ignore] rather than
removing the test file entirely.

===================================================================
何庆 He Qing <heqing@rool.me> not-needed 2026-08-08

All known versions for source package 'rust-attohttpc'

Links