@@ -16,7 +16,7 @@ use crate::{
16
16
use anyhow:: { anyhow, Result } ;
17
17
use backoff:: backoff:: Backoff ;
18
18
use bytes:: Bytes ;
19
- use derivative :: Derivative ;
19
+ use educe :: Educe ;
20
20
use futures:: future:: BoxFuture ;
21
21
use janus_aggregator_core:: {
22
22
datastore:: {
@@ -59,8 +59,8 @@ use tracing::{debug, error, info, info_span, trace_span, warn, Span};
59
59
#[ cfg( test) ]
60
60
mod tests;
61
61
62
- #[ derive( Derivative ) ]
63
- #[ derivative ( Debug ) ]
62
+ #[ derive( Educe ) ]
63
+ #[ educe ( Debug ) ]
64
64
pub struct AggregationJobDriver < B > {
65
65
// Configuration.
66
66
batch_aggregation_shard_count : u64 ,
@@ -70,17 +70,17 @@ pub struct AggregationJobDriver<B> {
70
70
http_client : reqwest:: Client ,
71
71
backoff : B ,
72
72
73
- #[ derivative ( Debug = " ignore" ) ]
73
+ #[ educe ( Debug ( ignore) ) ]
74
74
aggregation_success_counter : Counter < u64 > ,
75
- #[ derivative ( Debug = " ignore" ) ]
75
+ #[ educe ( Debug ( ignore) ) ]
76
76
aggregate_step_failure_counter : Counter < u64 > ,
77
- #[ derivative ( Debug = " ignore" ) ]
77
+ #[ educe ( Debug ( ignore) ) ]
78
78
aggregated_report_share_dimension_histogram : Histogram < u64 > ,
79
- #[ derivative ( Debug = " ignore" ) ]
79
+ #[ educe ( Debug ( ignore) ) ]
80
80
job_cancel_counter : Counter < u64 > ,
81
- #[ derivative ( Debug = " ignore" ) ]
81
+ #[ educe ( Debug ( ignore) ) ]
82
82
job_retry_counter : Counter < u64 > ,
83
- #[ derivative ( Debug = " ignore" ) ]
83
+ #[ educe ( Debug ( ignore) ) ]
84
84
http_request_duration_histogram : Histogram < f64 > ,
85
85
}
86
86
0 commit comments