@@ -49,177 +49,183 @@ fn simple() {
49
49
. masquerade_as_nightly_cargo ( )
50
50
. with_json (
51
51
r#"{
52
- "version": 1,
52
+ "roots": [
53
+ 3
54
+ ],
53
55
"units": [
54
56
{
57
+ "dependencies": [
58
+ {
59
+ "extern_crate_name": "b",
60
+ "index": 1,
61
+ "noprelude": false,
62
+ "public": false
63
+ }
64
+ ],
65
+ "features": [
66
+ "feata"
67
+ ],
68
+ "mode": "build",
55
69
"pkg_id": "a 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
70
+ "platform": null,
71
+ "profile": {
72
+ "codegen_backend": null,
73
+ "codegen_units": null,
74
+ "debug_assertions": true,
75
+ "debuginfo": 2,
76
+ "incremental": false,
77
+ "lto": "false",
78
+ "name": "dev",
79
+ "opt_level": "0",
80
+ "overflow_checks": true,
81
+ "panic": "unwind",
82
+ "rpath": false,
83
+ "split_debuginfo": null,
84
+ "strip": "none"
85
+ },
56
86
"target": {
57
- "kind ": [
87
+ "crate_types ": [
58
88
"lib"
59
89
],
60
- "crate_types": [
90
+ "doc": true,
91
+ "doctest": true,
92
+ "edition": "2015",
93
+ "kind": [
61
94
"lib"
62
95
],
63
96
"name": "a",
64
97
"src_path": "[..]/a-1.0.0/src/lib.rs",
65
- "edition": "2015",
66
- "doc": true,
67
- "doctest": true,
68
98
"test": true
69
- },
99
+ }
100
+ },
101
+ {
102
+ "dependencies": [
103
+ {
104
+ "extern_crate_name": "c",
105
+ "index": 2,
106
+ "noprelude": false,
107
+ "public": false
108
+ }
109
+ ],
110
+ "features": [
111
+ "featb"
112
+ ],
113
+ "mode": "build",
114
+ "pkg_id": "b 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
115
+ "platform": null,
70
116
"profile": {
71
- "name": "dev",
72
- "opt_level": "0",
73
- "lto": "false",
117
+ "codegen_backend": null,
74
118
"codegen_units": null,
75
- "debuginfo": 2,
76
119
"debug_assertions": true,
77
- "overflow_checks": true,
78
- "rpath": false,
120
+ "debuginfo": 2,
79
121
"incremental": false,
122
+ "lto": "false",
123
+ "name": "dev",
124
+ "opt_level": "0",
125
+ "overflow_checks": true,
80
126
"panic": "unwind",
81
- "strip": "none",
82
- "split_debuginfo": "{...}"
127
+ "rpath": false,
128
+ "split_debuginfo": null,
129
+ "strip": "none"
83
130
},
84
- "platform": null,
85
- "mode": "build",
86
- "features": [
87
- "feata"
88
- ],
89
- "dependencies": [
90
- {
91
- "index": 1,
92
- "extern_crate_name": "b",
93
- "public": false,
94
- "noprelude": false
95
- }
96
- ]
97
- },
98
- {
99
- "pkg_id": "b 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
100
131
"target": {
101
- "kind ": [
132
+ "crate_types ": [
102
133
"lib"
103
134
],
104
- "crate_types": [
135
+ "doc": true,
136
+ "doctest": true,
137
+ "edition": "2015",
138
+ "kind": [
105
139
"lib"
106
140
],
107
141
"name": "b",
108
142
"src_path": "[..]/b-1.0.0/src/lib.rs",
109
- "edition": "2015",
110
- "doc": true,
111
- "doctest": true,
112
143
"test": true
113
- },
144
+ }
145
+ },
146
+ {
147
+ "dependencies": [],
148
+ "features": [
149
+ "featc"
150
+ ],
151
+ "mode": "build",
152
+ "pkg_id": "c 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
153
+ "platform": null,
114
154
"profile": {
115
- "name": "dev",
116
- "opt_level": "0",
117
- "lto": "false",
155
+ "codegen_backend": null,
118
156
"codegen_units": null,
119
- "debuginfo": 2,
120
157
"debug_assertions": true,
121
- "overflow_checks": true,
122
- "rpath": false,
158
+ "debuginfo": 2,
123
159
"incremental": false,
160
+ "lto": "false",
161
+ "name": "dev",
162
+ "opt_level": "0",
163
+ "overflow_checks": true,
124
164
"panic": "unwind",
125
- "strip": "none",
126
- "split_debuginfo": "{...}"
165
+ "rpath": false,
166
+ "split_debuginfo": null,
167
+ "strip": "none"
127
168
},
128
- "platform": null,
129
- "mode": "build",
130
- "features": [
131
- "featb"
132
- ],
133
- "dependencies": [
134
- {
135
- "index": 2,
136
- "extern_crate_name": "c",
137
- "public": false,
138
- "noprelude": false
139
- }
140
- ]
141
- },
142
- {
143
- "pkg_id": "c 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)",
144
169
"target": {
145
- "kind ": [
170
+ "crate_types ": [
146
171
"lib"
147
172
],
148
- "crate_types": [
173
+ "doc": true,
174
+ "doctest": true,
175
+ "edition": "2015",
176
+ "kind": [
149
177
"lib"
150
178
],
151
179
"name": "c",
152
180
"src_path": "[..]/c-1.0.0/src/lib.rs",
153
- "edition": "2015",
154
- "test": true,
155
- "doc": true,
156
- "doctest": true
157
- },
181
+ "test": true
182
+ }
183
+ },
184
+ {
185
+ "dependencies": [
186
+ {
187
+ "extern_crate_name": "a",
188
+ "index": 0,
189
+ "noprelude": false,
190
+ "public": false
191
+ }
192
+ ],
193
+ "features": [],
194
+ "mode": "build",
195
+ "pkg_id": "foo 0.1.0 (path+file://[..]/foo)",
196
+ "platform": null,
158
197
"profile": {
159
- "name": "dev",
160
- "opt_level": "0",
161
- "lto": "false",
198
+ "codegen_backend": null,
162
199
"codegen_units": null,
163
- "debuginfo": 2,
164
200
"debug_assertions": true,
165
- "overflow_checks": true,
166
- "rpath": false,
201
+ "debuginfo": 2,
167
202
"incremental": false,
203
+ "lto": "false",
204
+ "name": "dev",
205
+ "opt_level": "0",
206
+ "overflow_checks": true,
168
207
"panic": "unwind",
169
- "strip": "none",
170
- "split_debuginfo": "{...}"
208
+ "rpath": false,
209
+ "split_debuginfo": null,
210
+ "strip": "none"
171
211
},
172
- "platform": null,
173
- "mode": "build",
174
- "features": [
175
- "featc"
176
- ],
177
- "dependencies": []
178
- },
179
- {
180
- "pkg_id": "foo 0.1.0 (path+file://[..]/foo)",
181
212
"target": {
182
- "kind ": [
213
+ "crate_types ": [
183
214
"lib"
184
215
],
185
- "crate_types": [
216
+ "doc": true,
217
+ "doctest": true,
218
+ "edition": "2015",
219
+ "kind": [
186
220
"lib"
187
221
],
188
222
"name": "foo",
189
223
"src_path": "[..]/foo/src/lib.rs",
190
- "edition": "2015",
191
- "test": true,
192
- "doc": true,
193
- "doctest": true
194
- },
195
- "profile": {
196
- "name": "dev",
197
- "opt_level": "0",
198
- "lto": "false",
199
- "codegen_units": null,
200
- "debuginfo": 2,
201
- "debug_assertions": true,
202
- "overflow_checks": true,
203
- "rpath": false,
204
- "incremental": false,
205
- "panic": "unwind",
206
- "strip": "none",
207
- "split_debuginfo": "{...}"
208
- },
209
- "platform": null,
210
- "mode": "build",
211
- "features": [],
212
- "dependencies": [
213
- {
214
- "index": 0,
215
- "extern_crate_name": "a",
216
- "public": false,
217
- "noprelude": false
218
- }
219
- ]
224
+ "test": true
225
+ }
220
226
}
221
227
],
222
- "roots ": [3]
228
+ "version ": 1
223
229
}
224
230
"# ,
225
231
)
0 commit comments