Skip to content

Commit

Permalink
Try to fix docs.rs generation (#343)
Browse files Browse the repository at this point in the history
  • Loading branch information
spk authored and seanmonstar committed Sep 12, 2018
1 parent 55fcedc commit 68d012e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,6 @@ serde_derive = "1.0"
[features]
default = []
hyper-011 = ["hyper-old-types"]

[package.metadata.docs.rs]
rustdoc-args = ["--cfg", "docs_rs_workaround"]
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![deny(warnings)]
#![deny(missing_docs)]
#![deny(missing_debug_implementations)]
#![cfg_attr(docs_rs_workaround, feature(extern_prelude))]
#![doc(html_root_url = "https://docs.rs/reqwest/0.8.6")]

//! # reqwest
Expand Down

0 comments on commit 68d012e

Please sign in to comment.