File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ unwrap_used = "deny"
4040use_debug = " warn"
4141
4242[package .metadata .docs .rs ]
43- features = [" docs " , " rgb" , " anstyle" ]
43+ features = [" rgb" , " anstyle" ]
4444rustdoc-args = [" --cfg" , " docsrs" ]
4545
4646[workspace ]
Original file line number Diff line number Diff line change @@ -111,19 +111,23 @@ use xterm as imp;
111111#[ cfg( not( unix) ) ]
112112use unsupported as imp;
113113
114- #[ cfg( feature = "docs" ) ]
114+ #[ cfg( docsrs) ]
115+ #[ cfg_attr( docsrs, doc( cfg( docsrs) ) ) ]
115116#[ doc = include_str ! ( "../doc/terminal-survey.md" ) ]
116117pub mod terminal_survey { }
117118
118- #[ cfg( feature = "docs" ) ]
119+ #[ cfg( docsrs) ]
120+ #[ cfg_attr( docsrs, doc( cfg( docsrs) ) ) ]
119121#[ doc = include_str ! ( "../doc/windows.md" ) ]
120122pub mod windows_unsupported { }
121123
122- #[ cfg( feature = "docs" ) ]
124+ #[ cfg( docsrs) ]
125+ #[ cfg_attr( docsrs, doc( cfg( docsrs) ) ) ]
123126#[ doc = include_str ! ( "../doc/latency-rustdoc.md" ) ]
124127pub mod latency { }
125128
126- #[ cfg( feature = "docs" ) ]
129+ #[ cfg( docsrs) ]
130+ #[ cfg_attr( docsrs, doc( cfg( docsrs) ) ) ]
127131#[ doc = include_str ! ( "../doc/feature-detection.md" ) ]
128132pub mod feature_detection { }
129133
You can’t perform that action at this time.
0 commit comments