Skip to content

Commit

Permalink
Auto merge of #427 - dekellum:package-metadata-docs-rs, r=SimonSapin
Browse files Browse the repository at this point in the history
Enable rustdoc for feature query_encoding on docs.rs

So that ParseOptions::encoding_override shows up on docs.rs  This relates to and was requested by me in #308.  I believe this is how to implement.

See onur/docs.rs@62fdcf605 for the docs.rs support of this config.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/rust-url/427)
<!-- Reviewable:end -->
  • Loading branch information
bors-servo authored Jan 21, 2018
2 parents 0ab3519 + 72b7ff9 commit 0f0813f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,6 @@ matches = "0.1"
percent-encoding = { version = "1.0.0", path = "./percent_encoding" }
rustc-serialize = {version = "0.3", optional = true}
serde = {version = ">=0.6.1, <0.9", optional = true}

[package.metadata.docs.rs]
features = ["query_encoding"]

0 comments on commit 0f0813f

Please sign in to comment.