File: remove-mac-crates.diff

package info (click to toggle)
rust-sysinfo 0.37.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,264 kB
  • sloc: ansic: 158; makefile: 27
file content (66 lines) | stat: -rw-r--r-- 1,789 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
Index: sysinfo/Cargo.toml
===================================================================
--- sysinfo.orig/Cargo.toml
+++ sysinfo/Cargo.toml
@@ -52,13 +52,6 @@ apple-app-store = ["apple-sandbox"]
 apple-sandbox = []
 c-interface = ["default"]
 component = [
-    "objc2-core-foundation/CFArray",
-    "objc2-core-foundation/CFBase",
-    "objc2-core-foundation/CFDictionary",
-    "objc2-core-foundation/CFNumber",
-    "objc2-core-foundation/CFString",
-    "objc2-io-kit",
-    "objc2-io-kit/hidsystem",
 ]
 debug = ["libc/extra_traits"]
 default = [
@@ -69,14 +62,6 @@ default = [
     "user",
 ]
 disk = [
-    "objc2-core-foundation/CFArray",
-    "objc2-core-foundation/CFBase",
-    "objc2-core-foundation/CFDictionary",
-    "objc2-core-foundation/CFError",
-    "objc2-core-foundation/CFNumber",
-    "objc2-core-foundation/CFString",
-    "objc2-core-foundation/CFURL",
-    "objc2-io-kit",
 ]
 linux-netdevs = []
 linux-tmpfs = []
@@ -85,11 +70,6 @@ network = [
 ]
 system = [
     "dep:memchr",
-    "objc2-core-foundation/CFBase",
-    "objc2-core-foundation/CFData",
-    "objc2-core-foundation/CFDictionary",
-    "objc2-core-foundation/CFString",
-    "objc2-io-kit",
 ]
 unknown-ci = []
 user = [
@@ -170,20 +150,6 @@ version = "1.0"
 [dev-dependencies.tempfile]
 version = "3.9"
 
-[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-core-foundation]
-version = "0.3.1"
-features = ["std"]
-optional = true
-default-features = false
-
-[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.objc2-io-kit]
-version = "0.3.1"
-features = [
-    "std",
-    "libc",
-]
-optional = true
-default-features = false
 
 [target.'cfg(not(any(target_os = "unknown", target_arch = "wasm32")))'.dependencies.libc]
 version = "^0.2.173"