Select a single docs.rs build target

This commit is contained in:
David Tolnay 2020-03-17 13:31:35 -07:00
parent 1894cb703f
commit 078e88b223
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
4 changed files with 12 additions and 0 deletions

View File

@ -26,6 +26,9 @@ serde_derive = { version = "1.0", path = "../serde_derive" }
[package.metadata.playground]
features = ["derive", "rc"]
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]
### FEATURES #################################################################

View File

@ -30,3 +30,6 @@ syn = { version = "1.0", features = ["visit"] }
[dev-dependencies]
serde = { version = "1.0", path = "../serde" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@ -21,3 +21,6 @@ syn = { version = "1.0", default-features = false, features = ["derive", "parsin
[badges]
travis-ci = { repository = "serde-rs/serde" }
appveyor = { repository = "serde-rs/serde" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

View File

@ -21,3 +21,6 @@ serde_derive = { version = "1.0", path = "../serde_derive" }
[badges]
travis-ci = { repository = "serde-rs/serde" }
appveyor = { repository = "serde-rs/serde" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]