Skip to content

Commit 1794a47

Browse files
Merge #1337
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]>
2 parents cde6e3e + 0c96573 commit 1794a47

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Cargo.toml

+13
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,19 @@ exclude = [
1616
"/bors.toml"
1717
]
1818

19+
[package.metadata.docs.rs]
20+
targets = [
21+
"x86_64-unknown-linux-gnu",
22+
"aarch64-linux-android",
23+
"x86_64-apple-darwin",
24+
"aarch64-apple-ios",
25+
"x86_64-unknown-freebsd",
26+
"x86_64-unknown-openbsd",
27+
"x86_64-unknown-netbsd",
28+
"x86_64-unknown-dragonfly",
29+
"x86_64-unknown-redox"
30+
]
31+
1932
[dependencies]
2033
libc = { version = "0.2.78", features = [ "extra_traits" ] }
2134
bitflags = "1.1"

0 commit comments

Comments
 (0)