Skip to content

Commit

Permalink
Fix docs.rs build
Browse files Browse the repository at this point in the history
  • Loading branch information
kornelski committed Aug 26, 2020
1 parent 69c09ab commit 71a0d68
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core-foundation-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions core-foundation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions core-graphics-types/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
3 changes: 3 additions & 0 deletions core-graphics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 71a0d68

Please sign in to comment.