Skip to content

Commit 108cc38

Browse files
authored
Update to objc2 v0.6 (#173)
This includes using the new crate `objc2-core-graphics`, which notably does not have the `CustomData` helper that `core-graphics`. This is probably for the better, as it allows us to avoid a double-boxing of the data.
1 parent 431702b commit 108cc38

File tree

6 files changed

+169
-189
lines changed

6 files changed

+169
-189
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
os: [macos-latest, windows-latest, ubuntu-latest]
2727
# Latest stable and MSRV. We only run checks with all features enabled
2828
# for the MSRV build to keep CI fast, since other configurations should also work.
29-
rust_version: [stable, "1.67.1"]
29+
rust_version: [stable, "1.71.0"]
3030
steps:
3131
- uses: actions-rust-lang/setup-rust-toolchain@v1
3232
with:

CHANGELOG.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
### Changed
4+
- Updated `objc2` to `v0.6`.
5+
- Raised MSRV to 1.71.0.
6+
37
## 3.4.1 on 2024-12-09
48

59
### Added
@@ -97,11 +101,11 @@ from a `write` call to a X11 and Wayland or clipboard
97101
- Updated `wl-clipboard-rs` to the version `0.6`.
98102
- Updated `x11rb` to the version `0.10`.
99103
- Cleaned up spelling in documentation
100-
- (Breaking) Functions that used to accept `String` now take `Into<Cow<'a>, str>` instead.
104+
- (Breaking) Functions that used to accept `String` now take `Into<Cow<'a>, str>` instead.
101105
This avoids cloning the string more times then necessary on platforms that can.
102106
- (Breaking) `Error` is now marked as `#[non_exhaustive]`.
103107
- (Breaking) Removed all platform specific modules and clipboard structures from the public API.
104-
If you were using these directly, the recommended replacement is using `arboard::Clipboard` and
108+
If you were using these directly, the recommended replacement is using `arboard::Clipboard` and
105109
the new platform-specific extension traits instead.
106110
- (Breaking) On Windows, the clipboard is now opened once per call to `Clipboard::new()` instead of on
107111
each operation. This means that instances of `Clipboard` should be dropped once you're performed the

Cargo.lock

+49-119
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)