From e3f8bb5cb79ed1ab557e56548c263a2665279fa9 Mon Sep 17 00:00:00 2001 From: Victor Brekenfeld Date: Mon, 2 Dec 2024 18:34:47 +0100 Subject: [PATCH] v0.17.0 --- CHANGELOG.md | 7 +++++++ Cargo.toml | 2 +- README.md | 5 +---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1c4f563..5e90797 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## 0.17.0 + +- `Surface`/`BufferObject` now take strong references to the underlying `gbm_device` + - Fixes a segfault when dropping the `Device` before it's derived objects + - Removes `DeviceDestroyedError`, `InvalidDeviceError` and `FdError` + - Removes the `device`-argument from `BufferObject::map` and `BufferObject::map_mut` + ## 0.16.1 - `Device`/`Surface`/`BufferObject` are now `Sync` diff --git a/Cargo.toml b/Cargo.toml index f043c88..293b94a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ description = "libgbm bindings for rust" license = "MIT" documentation = "https://docs.rs/gbm" repository = "https://github.com/Smithay/gbm.rs" -version = "0.16.1" +version = "0.17.0" keywords = ["wayland", "gbm", "drm", "bindings"] categories = ["external-ffi-bindings"] authors = ["Victoria Brekenfeld "] diff --git a/README.md b/README.md index c6470e4..d040e0e 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,12 @@ provided through the `drm-support` feature. Add to your Cargo.toml ```toml -gbm = "0.16.1" +gbm = "0.17.0" ``` ## Example ```rust -extern crate drm; -extern crate gbm; - use drm::control::{self, crtc, framebuffer}; use gbm::{BufferObjectFlags, Device, Format};