File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 16
16
#![ warn( rust_2018_idioms, missing_docs) ]
17
17
#![ warn( clippy:: dbg_macro, clippy:: print_stdout) ]
18
18
#![ doc = include_str ! ( "../README.md" ) ]
19
- #![ cfg_attr( docsrs, feature( doc_cfg ) ) ]
19
+ #![ cfg_attr( docsrs, feature( doc_auto_cfg ) ) ]
20
20
21
21
pub mod common;
22
22
pub ( crate ) mod error;
23
23
pub mod logging;
24
24
#[ cfg( feature = "management" ) ]
25
- #[ cfg_attr( docsrs, doc( cfg( feature = "management" ) ) ) ]
26
25
pub mod management;
27
26
pub mod metrics;
28
27
pub mod proto;
Original file line number Diff line number Diff line change 18
18
19
19
pub mod grpc;
20
20
#[ cfg( feature = "kafka-reporter" ) ]
21
- #[ cfg_attr( docsrs, doc( cfg( feature = "kafka-reporter" ) ) ) ]
22
21
pub mod kafka;
23
22
pub mod print;
24
23
@@ -42,11 +41,9 @@ pub enum CollectItem {
42
41
Meter ( Box < MeterData > ) ,
43
42
/// Instance properties object.
44
43
#[ cfg( feature = "management" ) ]
45
- #[ cfg_attr( docsrs, doc( cfg( feature = "management" ) ) ) ]
46
44
Instance ( Box < InstanceProperties > ) ,
47
45
/// Keep alive object.
48
46
#[ cfg( feature = "management" ) ]
49
- #[ cfg_attr( docsrs, doc( cfg( feature = "management" ) ) ) ]
50
47
Ping ( Box < InstancePingPkg > ) ,
51
48
}
52
49
You can’t perform that action at this time.
0 commit comments