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 35 36 37 38
|
Description: Drop features and deps only useful when being a rust dependency
introduced in upstream commit a32845f0215391f118a674868a65d78adbd982d0.
With the implicit compiler_builtin feature enabled, benches fails to build:
undefined reference to `core::cmp::min_by'
With disable-benches.patch it's actually irrelevant, but let's be safe.
Author: Peter Michael Green <plugwash@debian.org>
Forwarded: not-needed
Last-Update: 2024-09-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
diff --git a/Cargo.toml b/Cargo.toml
index 8403a9e..b4e508b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -49,10 +49,6 @@ repository = "https://github.com/unicode-rs/unicode-width"
cjk = []
default = ["cjk"]
no_std = []
-rustc-dep-of-std = [
- "std",
- "core",
-]
[lib]
name = "unicode_width"
@@ -66,12 +62,3 @@ path = "tests/tests.rs"
name = "benches"
path = "benches/benches.rs"
-[dependencies.core]
-version = "1.0"
-optional = true
-package = "rustc-std-workspace-core"
-
-[dependencies.std]
-version = "1.0"
-optional = true
-package = "rustc-std-workspace-std"
|