File: 2002_zlib-rs.patch

package info (click to toggle)
rust-rustls 0.23.32%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 13,468 kB
  • sloc: sh: 199; python: 181; makefile: 11
file content (34 lines) | stat: -rw-r--r-- 869 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
Description: avoid not-in-Debian crate zlib-rs
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-12-16
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/rustls/Cargo.toml
+++ b/rustls/Cargo.toml
@@ -24,7 +24,6 @@
 ring = ["dep:ring", "webpki/ring"]
 std = ["webpki/std", "pki-types/std", "once_cell/std"]
 tls12 = []
-zlib = ["dep:zlib-rs"]
 
 [build-dependencies]
 rustversion = { version = "1.0.6", optional = true }
@@ -41,7 +40,6 @@
 webpki = { workspace = true }
 pki-types = { workspace = true }
 zeroize = { workspace = true }
-zlib-rs = { workspace = true, optional = true }
 
 [dev-dependencies]
 base64 = { workspace = true }
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -88,7 +88,6 @@
 x25519-dalek = "2"
 x509-parser = ">= 0.17, <= 0.18"
 zeroize = "1.8"
-zlib-rs = "0.5"
 
 [profile.bench]
 codegen-units = 1