From 71a0d68abffefffded0c5c0c35a81d3cb93c98e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kornel=20Lesi=C5=84ski?= Date: Wed, 26 Aug 2020 17:28:10 +0100 Subject: [PATCH] Fix docs.rs build --- core-foundation-sys/Cargo.toml | 3 +++ core-foundation/Cargo.toml | 3 +++ core-graphics-types/Cargo.toml | 3 +++ core-graphics/Cargo.toml | 3 +++ 4 files changed, 12 insertions(+) diff --git a/core-foundation-sys/Cargo.toml b/core-foundation-sys/Cargo.toml index 122c4a7..2dbaf45 100644 --- a/core-foundation-sys/Cargo.toml +++ b/core-foundation-sys/Cargo.toml @@ -13,3 +13,6 @@ build = "build.rs" [features] mac_os_10_7_support = [] # backwards compatibility mac_os_10_8_features = [] # enables new features + +[package.metadata.docs.rs] +default-target = "x86_64-apple-darwin" diff --git a/core-foundation/Cargo.toml b/core-foundation/Cargo.toml index adae229..64bc395 100644 --- a/core-foundation/Cargo.toml +++ b/core-foundation/Cargo.toml @@ -23,3 +23,6 @@ mac_os_10_7_support = ["core-foundation-sys/mac_os_10_7_support"] # backwards co mac_os_10_8_features = ["core-foundation-sys/mac_os_10_8_features"] # enables new features with-chrono = ["chrono"] with-uuid = ["uuid"] + +[package.metadata.docs.rs] +default-target = "x86_64-apple-darwin" diff --git a/core-graphics-types/Cargo.toml b/core-graphics-types/Cargo.toml index 79f3850..71ebc57 100644 --- a/core-graphics-types/Cargo.toml +++ b/core-graphics-types/Cargo.toml @@ -12,3 +12,6 @@ bitflags = "1.0" core-foundation = { path = "../core-foundation", version = "0.9" } foreign-types = "0.3.0" libc = "0.2" + +[package.metadata.docs.rs] +default-target = "x86_64-apple-darwin" diff --git a/core-graphics/Cargo.toml b/core-graphics/Cargo.toml index b290d9f..d6c2420 100644 --- a/core-graphics/Cargo.toml +++ b/core-graphics/Cargo.toml @@ -18,3 +18,6 @@ core-foundation = { path = "../core-foundation", version = "0.9" } core-graphics-types = { path = "../core-graphics-types", version = "0.1" } foreign-types = "0.3.0" libc = "0.2" + +[package.metadata.docs.rs] +default-target = "x86_64-apple-darwin"