PackageTrack
Sign in Get early access

raw-window-handle

Interoperability library for Rust Windowing applications.

0.6.2 93M downloads/mo #846 most downloaded on crates.io rust-windowing/raw-window-handle

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships unpredictably

gaps range from 8 days to 2.0 years

Nearly every release is documented

notes for 16 of 16 stable releases

4 versions withdrawn

withdrawn after publishing

7 years old

20 releases · first in 2019

0 releases in the last 12 months

see the full history below

Release timeline

20 releases · Jul 2019 to May 2024
2020 2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 20
  1. 0.6.2 17 May 2024
    Release notes
    • Add OpenHarmony OS support (#164)
    • Minor Documentation updates
    Open source →
    Release notes
    • Add OpenHarmony OS support (#164)
    • Minor Documentation updates
    Open source →
  2. 0.6.1 20 Apr 2024
    Release notes
    • Add safe constructors for window handles. This may be useful for implementing
      windowing systems with zero unsafe code. (#159)
    • Improve documentation for Apple window handles. (#160)
    • Add a clarification as to what circumstances Windows handles are considered
      "valid" under. (#163)
    Open source →
    Release notes
    • Add safe constructors for window handles. This may be useful for implementing windowing systems with zero unsafe code. (#159)
    • Improve documentation for Apple window handles. (#160)
    • Add a clarification as to what circumstances Windows handles are considered "valid" under. (#163)
    Open source →
  3. 0.6.0 01 Oct 2023
    Release notes
    • Breaking: Raw pointer handles now use NonNull where appropriate, to avoid null pointer dereferences.
    • Breaking: Renamed empty methods to new, and take parameters in most of those, to better match normal Rust semantics.
    • Breaking: HasRaw(Display/Window)Handle::raw_(display/window)_handle returns a result indicating if fetching the window handle failed (#122).
    • Breaking: Remove the Active/ActiveHandle types from the public API (#126).
    • Breaking: Remove AppKitWindowHandle::ns_window and UiKitWindowHandle::ui_window since they can be retrieved from the view (#129).
    • Breaking: Remove Copy derive from RawWindowHandle and WindowHandle (#140).
    • Implement PartialEq, Eq and Hash for WindowHandle too. (#128)
    • Implement the relevant traits for &mut T where T: <trait>. (#130)
    • Add web handles for wasm-bindgen v0.2. They are locked behind the wasm-bindgen-0-2 feature. (#134)
    • Deprecate the raw window/display handle traits. They will be removed at the next stable release. (#139)
    Open source →
    Release notes
    • Breaking: Raw pointer handles now use NonNull where appropriate, to avoid null pointer dereferences.
    • Breaking: Renamed empty methods to new, and take parameters in most of those, to better match normal Rust semantics.
    • Breaking: HasRaw(Display/Window)Handle::raw_(display/window)_handle returns a result indicating if fetching the window handle failed (#122).
    • Breaking: Remove the Active/ActiveHandle types from the public API (#126).
    • Breaking: Remove AppKitWindowHandle::ns_window and UiKitWindowHandle::ui_window since they can be retrieved from the view (#129).
    • Breaking: Remove Copy derive from RawWindowHandle and WindowHandle (#140).
    • Implement PartialEq, Eq and Hash for WindowHandle too. (#128)
    • Implement the relevant traits for &mut T where T: <trait>. (#130)
    • Add web handles for wasm-bindgen v0.2. They are locked behind the wasm-bindgen-0-2 feature. (#134)
    • Deprecate the raw window/display handle traits. They will be removed at the next stable release. (#139)
    Open source →
  4. 0.5.2 31 Mar 2023
    Release notes

    chore: Release raw-window-handle version 0.5.2

    Open source →
    Release notes
    • Add several types for using raw window handles safely, including HasWindowHandle, WindowHandle, HasDisplayHandle, DisplayHandle and Active (#110).
    Open source →
  5. 0.5.1 08 Mar 2023
    Release notes

    chore: Release raw-window-handle version 0.5.1

    Open source →
    Release notes
    • Add the rust-version field (1.64).
    • Implemented From for RawWindowHandle and RawDisplayHandle
    Open source →
  6. 0.5.0 15 Jul 2022
    Release notes

    (cargo-release) raw-window-handle version 0.5.0

    Open source →
    Release notes
    • Breaking: The RawWindowHandle variants were split into RawDisplayHandle and RawWindowHandle.
    • The X11 screen is now present in new XlibDisplayHandle and XcbDisplayHandle.
    • Add GBM support.
    Open source →
  7. 0.4.3 29 Mar 2022
    Release notes

    (cargo-release) raw-window-handle version 0.4.3

    Open source →
    Release notes Open source →
  8. 0.4.2 24 Nov 2021
    Release notes

    (cargo-release) raw-window-handle version 0.4.2

    Open source →
    Release notes
    • Also implement HasRawWindowHandle for Rc<T>, and Arc<T> where T: ?Sized.
    Open source →
  9. 0.4.1 19 Nov 2021 withdrawn
    Release notes

    (cargo-release) raw-window-handle version 0.4.1

    Open source →
    Release notes
    • Added an impl of HasRawWindowHandle for &T, Rc<T>, and Arc<T>. The impls for Rc<T> and Arc<T> require the alloc feature.
    Open source →
  10. 0.4.0 15 Nov 2021 withdrawn
    Release notes
    • Breaking: Remove _do_not_use tags to use #[non_exhaustive] macro
    • Breaking: RawWindowHandle variants are no longer cfg-guarded by platform.
    • Breaking: Rename IOS to UiKit.
    • Breaking: Rename MacOS to AppKit.
    • Breaking: Rename Windows to Win32.
    • Breaking: Rename Redox to Orbital.
    • Breaking: Rename Android to AndroidNdk.
    • Breaking: Inner window handle structs are now exported at crate root.
    • Added Windows WinRt handle.

    0.3.4 (2021-11-27)

    • Add HasRawWindowHandle implementation for HasRawWindowHandle in the newer v0.4. This allows "provider" crates that implement HasRawWindowHandle (like winit, sdl2, glfw, fltk, ...) to upgrade to v0.4 without a breaking change. Afterwards "consumer" crates (like gfx, wgpu, rfd, ...) can start upgrading with minimal breakage for their users.
    Open source →
  11. 0.3.4 27 Nov 2021
    Release notes

    (cargo-release) raw-window-handle version 0.3.4

    Open source →
  12. 0.3.3 01 Dec 2019
    Release notes
    • Add missing Hash implementation for AndroidHandle.
    Open source →
  13. 0.3.2 29 Nov 2019
    Release notes
    • Add Hash implementation for RawWindowHandle.
    Open source →
  14. 0.3.1 27 Oct 2019
    Release notes
    • Remove RawWindowHandle's HasRawWindowHandle implementation, as it was unsound (see #35)
    • Explicitly require that handles within RawWindowHandle be valid for the lifetime of the HasRawWindowHandle implementation that provided them.
    Open source →
  15. 0.3.0 05 Oct 2019 withdrawn
    Release notes
    • Breaking: Rename XLib.surface to XLib.window, as that more accurately represents the underlying type.
    • Implement HasRawWindowHandle for RawWindowHandle
    • Add HINSTANCE field to WindowsHandle.
    Open source →
  16. 0.2.0 27 Sep 2019
    Release notes
    • Breaking: Rename X11 to XLib.
    • Add XCB support.
    • Add Web support.
    • Add Android support.
    Open source →
  17. 0.1.2 13 Aug 2019
    Release notes
    • Fix use of private _non_exhaustive field in platform handle structs preventing structs from getting initialized.
    Open source →
  18. 0.1.1 13 Aug 2019
    Release notes
    • Flesh out Cargo.toml, adding crates.io info rendering tags.
    Open source →
  19. 0.1.0 13 Aug 2019
    Release notes
    • Initial release.
    Open source →
  20. 0.0.0 25 Jul 2019 withdrawn

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive