Skip to content

Commit 253d356

Browse files
author
bors-servo
authored
Auto merge of #60 - faern:upgrade-core-foundation, r=jdm
Upgrade core foundation This is a PR in a series of PRs originating at #132 The plan is to make a breaking change to `core-foundation` and release it as `0.5.0`. But before the merge/publish of `core-foundation` I will prepare a set of PRs making sure the entire dependency graph of Servo is ready for this change and can be switched over to `0.5.0` directly. TODO before merge: - [x] Merge `core-foundation` PR and publish. - [x] Remove the last commit from this PR, so we depend on code from crates.io. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/io-surface-rs/60) <!-- Reviewable:end -->
2 parents dde7fed + b0132d3 commit 253d356

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "io-surface"
33
description = "Bindings to IO Surface for OS X"
44
homepage = "https://github.com/servo/io-surface-rs"
55
repository = "https://github.com/servo/io-surface-rs"
6-
version = "0.8.0"
6+
version = "0.9.0"
77
authors = ["The Servo Project Developers"]
88
license = "MIT / Apache-2.0"
99

@@ -12,6 +12,6 @@ libc = "0.2"
1212
gleam = "0.4"
1313

1414
[target.x86_64-apple-darwin.dependencies]
15-
core-foundation = "0.4"
15+
core-foundation = "0.5"
1616
cgl = "0.2.1"
1717
leaky-cow = "0.1.1"

src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ impl Clone for IOSurface {
6363
}
6464
}
6565

66-
impl TCFType<IOSurfaceRef> for IOSurface {
66+
impl TCFType for IOSurface {
67+
type Ref = IOSurfaceRef;
68+
6769
#[inline]
6870
fn as_concrete_TypeRef(&self) -> IOSurfaceRef {
6971
self.obj

0 commit comments

Comments
 (0)