From b94ef8c38b72d23414f6069fe05010d06dc9a420 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 17 Mar 2020 13:22:17 -0700 Subject: [PATCH] Select a single docs.rs build target --- Cargo.toml | 3 +++ impl/Cargo.toml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a8a831a..094e9b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,3 +19,6 @@ inventory-impl = { version = "=0.1.5", path = "impl" } [workspace] members = ["impl"] + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"] diff --git a/impl/Cargo.toml b/impl/Cargo.toml index 2eef4aa..bb6c4f1 100644 --- a/impl/Cargo.toml +++ b/impl/Cargo.toml @@ -17,3 +17,6 @@ travis-ci = { repository = "dtolnay/inventory" } proc-macro2 = "1.0" quote = "1.0" syn = "1.0" + +[package.metadata.docs.rs] +targets = ["x86_64-unknown-linux-gnu"]