11use anyhow:: Result ;
22use bincode:: { Decode , Encode } ;
3- use serde:: { Deserialize , Serialize } ;
43use turbo_rcstr:: RcStr ;
54use turbo_tasks:: {
65 CollectiblesSource , FxIndexMap , NonLocalValue , OperationValue , OperationVc , ResolvedVc ,
@@ -114,8 +113,6 @@ fn pick_route(entrypoints: OperationVc<Entrypoints>, key: RcStr, route: &Route)
114113 Debug ,
115114 Clone ,
116115 TaskInput ,
117- Serialize ,
118- Deserialize ,
119116 TraceRawVcs ,
120117 PartialEq ,
121118 Eq ,
@@ -208,33 +205,13 @@ async fn pick_endpoint(
208205 Ok ( Vc :: cell ( endpoint) )
209206}
210207
211- #[ derive(
212- Serialize ,
213- Deserialize ,
214- TraceRawVcs ,
215- PartialEq ,
216- Eq ,
217- ValueDebugFormat ,
218- NonLocalValue ,
219- Encode ,
220- Decode ,
221- ) ]
208+ #[ derive( TraceRawVcs , PartialEq , Eq , ValueDebugFormat , NonLocalValue , Encode , Decode ) ]
222209pub struct InstrumentationOperation {
223210 pub node_js : OperationVc < OptionEndpoint > ,
224211 pub edge : OperationVc < OptionEndpoint > ,
225212}
226213
227- #[ derive(
228- Serialize ,
229- Deserialize ,
230- TraceRawVcs ,
231- PartialEq ,
232- Eq ,
233- ValueDebugFormat ,
234- NonLocalValue ,
235- Encode ,
236- Decode ,
237- ) ]
214+ #[ derive( TraceRawVcs , PartialEq , Eq , ValueDebugFormat , NonLocalValue , Encode , Decode ) ]
238215pub struct MiddlewareOperation {
239216 pub endpoint : OperationVc < OptionEndpoint > ,
240217 pub is_proxy : bool ,
@@ -259,17 +236,7 @@ pub enum RouteOperation {
259236}
260237
261238#[ derive(
262- TraceRawVcs ,
263- Serialize ,
264- Deserialize ,
265- PartialEq ,
266- Eq ,
267- ValueDebugFormat ,
268- Clone ,
269- Debug ,
270- NonLocalValue ,
271- Encode ,
272- Decode ,
239+ TraceRawVcs , PartialEq , Eq , ValueDebugFormat , Clone , Debug , NonLocalValue , Encode , Decode ,
273240) ]
274241pub struct AppPageRouteOperation {
275242 pub original_name : RcStr ,
0 commit comments