Only build docs.rs documentation for GNU Linux
This commit is contained in:
parent
5f21b87937
commit
2b34398fbe
1 changed files with 3 additions and 0 deletions
|
@ -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"]
|
||||
|
|
Loading…
Add table
Reference in a new issue