File: remove-experimental-feature.patch

package info (click to toggle)
rust-cxxbridge-macro 1.0.141-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 500 kB
  • sloc: makefile: 2
file content (55 lines) | stat: -rw-r--r-- 965 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
Origin: upstream, 1.0.169
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,32 +39,12 @@ targets = ["x86_64-unknown-linux-gnu"]
 
 [features]
 experimental-async-fn = []
-experimental-enum-variants-from-header = [
-    "clang-ast",
-    "flate2",
-    "memmap",
-    "serde",
-    "serde_derive",
-    "serde_json",
-]
 
 [lib]
 name = "cxxbridge_macro"
 path = "src/lib.rs"
 proc-macro = true
 
-[dependencies.clang-ast]
-version = "0.1.18"
-optional = true
-
-[dependencies.flate2]
-version = "1.0.26"
-optional = true
-
-[dependencies.memmap]
-version = "0.7"
-optional = true
-
 [dependencies.proc-macro2]
 version = "1.0.74"
 
@@ -74,18 +54,6 @@ version = "1.0.35"
 [dependencies.rustversion]
 version = "1"
 
-[dependencies.serde]
-version = "1.0.166"
-optional = true
-
-[dependencies.serde_derive]
-version = "1.0.166"
-optional = true
-
-[dependencies.serde_json]
-version = "1.0.100"
-optional = true
-
 [dependencies.syn]
 version = "2.0.46"
 features = ["full"]