File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616#![ warn( rust_2018_idioms, missing_docs) ]
1717#![ warn( clippy:: dbg_macro, clippy:: print_stdout) ]
1818#![ doc = include_str ! ( "../README.md" ) ]
19- #![ cfg_attr( docsrs, feature( doc_cfg ) ) ]
19+ #![ cfg_attr( docsrs, feature( doc_auto_cfg ) ) ]
2020
2121pub mod common;
2222pub ( crate ) mod error;
2323pub mod logging;
2424#[ cfg( feature = "management" ) ]
25- #[ cfg_attr( docsrs, doc( cfg( feature = "management" ) ) ) ]
2625pub mod management;
2726pub mod metrics;
2827pub mod proto;
Original file line number Diff line number Diff line change 1818
1919pub mod grpc;
2020#[ cfg( feature = "kafka-reporter" ) ]
21- #[ cfg_attr( docsrs, doc( cfg( feature = "kafka-reporter" ) ) ) ]
2221pub mod kafka;
2322pub mod print;
2423
@@ -42,11 +41,9 @@ pub enum CollectItem {
4241 Meter ( Box < MeterData > ) ,
4342 /// Instance properties object.
4443 #[ cfg( feature = "management" ) ]
45- #[ cfg_attr( docsrs, doc( cfg( feature = "management" ) ) ) ]
4644 Instance ( Box < InstanceProperties > ) ,
4745 /// Keep alive object.
4846 #[ cfg( feature = "management" ) ]
49- #[ cfg_attr( docsrs, doc( cfg( feature = "management" ) ) ) ]
5047 Ping ( Box < InstancePingPkg > ) ,
5148}
5249
You can’t perform that action at this time.
0 commit comments