ash/ash-window
Marijn Suijten e18e0243ef
ash: Remove unnecessary trivial_casts and trivial_numeric_casts (#564)
While making the code only marginally harder to read such casts can also
introduce subtle bugs when used incorrectly, and are best omitted
whenever unnecessary: Rust already coerces borrows into raw pointers
when the types on both ends are clear, and even then there remain many
casts that are identical to the source type.

In addition these errors show up when using a local crate reference to
`ash` in a workspace that uses "the `.cargo/config.toml` setup" from
[EmbarkStudios/rust-ecosystem#68] to configure linter warnings
project-wide instead of for all crates in that workspace individually.
In our case aforementioned linter warnings are enabled on top of
Embark's configuration, leading to a lot of these warnings in our build
process.

[EmbarkStudios/rust-ecosystem#68]: https://github.com/EmbarkStudios/rust-ecosystem/pull/68
2022-02-18 16:01:46 -08:00
..
examples Don't link Vulkan by default (#526) 2021-12-27 11:49:40 +01:00
src ash: Remove unnecessary trivial_casts and trivial_numeric_casts (#564) 2022-02-18 16:01:46 -08:00
Cargo.toml ash-window: Require at least raw-window-handle 0.3.4 for 0.4 interop (#553) 2022-01-10 12:59:35 -08:00
Changelog.md Release ash 0.35 and ash-window 0.9 without default compile-time linking (#529) 2021-12-27 23:52:23 +01:00
LICENSE-APACHE Adds LICENSE-* files to crate subdirectories (#452) 2021-07-09 12:21:15 +02:00
LICENSE-MIT Adds LICENSE-* files to crate subdirectories (#452) 2021-07-09 12:21:15 +02:00
README.md changelog: Add entries for recent PRs #545, #534, #553, #551, #549 (#555) 2022-01-17 20:45:10 +01:00

Ash-window

Interoperability between ash and raw-window-handle for surface creation.

Crates.io Version Documentation Build Status LICENSE LICENSE Join the chat at https://gitter.im/MaikKlein/ash-window

Usage

ash-window = "0.9"

The library exposes two functions:

Versions

ash = "0.35"

Support

  • Windows (VK_KHR_win32_surface)
  • Unix (VK_KHR_xlib_surface/VK_KHR_xcb_surface/VK_KHR_wayland_surface)
  • MacOS/IOS (VK_EXT_metal_surface)
  • Android (VK_KHR_android_surface)

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any Contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.