File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -82,3 +82,6 @@ function_name = "0.2.0"
82
82
pretty_assertions = " 0.6.1"
83
83
serde_json = " 1.0.40"
84
84
semver = " 0.9.0"
85
+
86
+ [package .metadata .docs .rs ]
87
+ rustdoc-args = [" --cfg" , " docsrs" ]
Original file line number Diff line number Diff line change 77
77
clippy:: float_cmp
78
78
)
79
79
) ]
80
+ #![ cfg_attr( docsrs, feature( doc_cfg) ) ]
80
81
81
82
macro_rules! define_if_single_runtime_enabled {
82
83
( $( $def: item ) + ) => {
@@ -113,7 +114,8 @@ define_if_single_runtime_enabled! {
113
114
mod sdam;
114
115
mod selection_criteria;
115
116
mod srv;
116
- #[ cfg( feature = "sync" ) ]
117
+ #[ cfg( any( feature = "sync" , docsrs) ) ]
118
+ #[ cfg_attr( docsrs, doc( cfg( feature = "sync" ) ) ) ]
117
119
pub mod sync;
118
120
#[ cfg( test) ]
119
121
mod test;
Original file line number Diff line number Diff line change
1
+ //! Contains the sync API. This is only available when the `sync` feature is enabled.
2
+
1
3
mod client;
2
4
mod coll;
3
5
mod cursor;
You can’t perform that action at this time.
0 commit comments