Skip to content

Commit

Permalink
Merge #1337
Browse files Browse the repository at this point in the history
1337: Add docs.rs target list r=asomers a=myfreeweb

ref: https://blog.rust-lang.org/2020/03/15/docs-rs-opt-into-fewer-targets.html

Makes sense to build docs for all supported OSes (BSD, Redox) rather than completely empty docs for Windows :)

Co-authored-by: myfreeweb <[email protected]>
  • Loading branch information
bors[bot] and valpackett authored Nov 19, 2020
2 parents cde6e3e + 0c96573 commit 1794a47
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ exclude = [
"/bors.toml"
]

[package.metadata.docs.rs]
targets = [
"x86_64-unknown-linux-gnu",
"aarch64-linux-android",
"x86_64-apple-darwin",
"aarch64-apple-ios",
"x86_64-unknown-freebsd",
"x86_64-unknown-openbsd",
"x86_64-unknown-netbsd",
"x86_64-unknown-dragonfly",
"x86_64-unknown-redox"
]

[dependencies]
libc = { version = "0.2.78", features = [ "extra_traits" ] }
bitflags = "1.1"
Expand Down

0 comments on commit 1794a47

Please sign in to comment.