File: 2003_no_wasm.patch

package info (click to toggle)
rust-libp2p-identity 0.2.10%2B20250205%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 804 kB
  • sloc: makefile: 8; sh: 1
file content (18 lines) | stat: -rw-r--r-- 654 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: avoid WASM-only crates
Author: Jonas Smedegaard <dr@jones.dk>
Forwarded: not-needed
Last-Update: 2024-07-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/identity/Cargo.toml
+++ b/identity/Cargo.toml
@@ -27,9 +27,6 @@
 thiserror = { workspace = true, optional = true }
 zeroize = { version = "1.8", optional = true }
 
-[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-ring = { workspace = true, features = ["alloc", "std"], optional = true }
-
 [features]
 ecdsa = ["dep:p256", "dep:zeroize", "dep:sec1", "dep:sha2", "dep:hkdf"]
 ed25519 = ["dep:ed25519-dalek", "dep:zeroize", "dep:sha2", "dep:hkdf"]