Skip to content

Commit 7943fcf

Browse files
authored
Bump version to 0.4 (#12)
* Restrict targets to macos and ios * Bump version to 0.4.0
1 parent 32b89db commit 7943fcf

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Unreleased
22

3+
# 0.4.0 (2023-10-31)
4+
- Update `raw-window-handle` dep to `0.6.0`.
5+
- Remove `metal_layer_from_ns_window` and `metal_layer_from_ui_window`.
6+
7+
# 0.3.2 (2023-10-31)
8+
- Bump version of `cocoa` and `core-graphics` dependencies.
9+
310
# 0.3.1 (2022-11-25)
411
- Only build docs.rs for `darwin` and `ios`.
512

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "raw-window-metal"
3-
version = "0.3.1"
3+
version = "0.4.0"
44
license = "MIT OR Apache-2.0"
55
authors = ["The Gfx-rs Developers"]
66
edition = "2018"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
Interoperability library for Metal and [`raw-window-handle`](https://github.com/rust-windowing/raw-window-handle) for surface creation.
2626

2727
```toml
28-
raw-window-metal = "0.3"
28+
raw-window-metal = "0.4"
2929
```
3030

3131
`CAMetalLayer` is the common entrypoint for graphics APIs (e.g `gfx` or `MoltenVK`), but the handles provided by window libraries may not include such a layer.

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// #![cfg(any(target_os = "macos", target_os = "ios"))]
1+
#![cfg(any(target_os = "macos", target_os = "ios"))]
22
#![allow(clippy::missing_safety_doc, clippy::let_unit_value)]
33

44
#[macro_use]

0 commit comments

Comments
 (0)