Skip to content

Commit 0f0813f

Browse files
author
bors-servo
authored
Auto merge of #427 - dekellum:package-metadata-docs-rs, r=SimonSapin
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 -->
2 parents 0ab3519 + 72b7ff9 commit 0f0813f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,6 @@ matches = "0.1"
4747
percent-encoding = { version = "1.0.0", path = "./percent_encoding" }
4848
rustc-serialize = {version = "0.3", optional = true}
4949
serde = {version = ">=0.6.1, <0.9", optional = true}
50+
51+
[package.metadata.docs.rs]
52+
features = ["query_encoding"]

0 commit comments

Comments
 (0)