Use doc_cfg to show feature requirements (#1134)
* Use `doc_cfg` to show feature requirements * Apply suggestions from code review
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#![deny(missing_docs)]
|
||||
#![deny(missing_debug_implementations)]
|
||||
#![cfg_attr(docsrs, feature(doc_cfg))]
|
||||
#![cfg_attr(test, deny(warnings))]
|
||||
#![doc(html_root_url = "https://docs.rs/reqwest/0.11.0")]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user