File: 2001_merlin.patch

package info (click to toggle)
rust-curve25519-dalek 4.2.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,848 kB
  • sloc: sh: 63; makefile: 29
file content (26 lines) | stat: -rw-r--r-- 1,001 bytes parent folder | download | duplicates (2)
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
Description: avoid crate merlin
 merlin hardcodes a compile_error!() on big-endian architectures.
Author: Blair Noctis <ncts@debian.org>
Bug-Debian: https://bugs.debian.org/1081176
Forwarded: not-needed
Last-Update: 2024-10-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/ed25519-dalek/Cargo.toml
+++ b/ed25519-dalek/Cargo.toml
@@ -33,7 +33,6 @@
 subtle = { version = "2.3.0", default-features = false }
 
 # optional features
-merlin = { version = "3", default-features = false, optional = true }
 rand_core = { version = "0.6.4", default-features = false, optional = true }
 serde = { version = "1.0", default-features = false, optional = true }
 zeroize = { version = "1.5", default-features = false, optional = true }
@@ -64,7 +63,6 @@
 std = ["alloc", "ed25519/std", "serde?/std", "sha2/std"]
 
 asm = ["sha2/asm"]
-batch = ["alloc", "merlin", "rand_core"]
 fast = ["curve25519-dalek/precomputed-tables"]
 digest = ["signature/digest"]
 # Exposes the hazmat module