Only build docs.rs documentation for GNU Linux

This commit is contained in:
timvisee 2020-03-18 19:48:13 +01:00
parent 5f21b87937
commit 2b34398fbe
No known key found for this signature in database
GPG key ID: B8DB720BC383E172

View file

@ -134,3 +134,6 @@ which = { version = "3.1", optional = true }
[target.'cfg(not(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "openbsd", target_os = "netbsd")))'.dependencies]
# Aliased to clip to prevent name collision with clipboard feature
clip = { version = "0.5", optional = true, package = "clipboard" }
[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]