#winit #pointers #windowing #input #graphics

no-std ui-events-winit

A library for bridging ui-events and winit

1 unstable release

new 0.1.0 May 8, 2025

#488 in GUI

Apache-2.0 OR MIT

71KB
1K SLoC

UI Events for Winit

A library for working with canvas-like scenes.

Linebender Zulip, #general channel dependency status Apache 2.0 or MIT license. Build status Crates.io Docs

This crate bridges winit's native input events (mouse, touch, keyboard, etc.) into the ui-events model.

The primary entry point is WindowEventReducer.

Minimum supported Rust Version (MSRV)

This version of UI Events for Winit has been verified to compile with Rust 1.81 and later.

Future versions of UI Events for Winit might increase the Rust version requirement. It will not be treated as a breaking change and as such can even happen with small patch releases.

Click here if compiling fails.

As time has passed, some of UI Events for Winit's dependencies could have released versions with a higher Rust requirement. If you encounter a compilation issue due to a dependency and don't want to upgrade your Rust toolchain, then you could downgrade the dependency.

# Use the problematic dependency's name and version
cargo update -p package_name --precise 0.1.1

Community

Linebender Zulip

Discussion of UI Events for Winit development happens in the Linebender Zulip, specifically the #general channel. All public content can be read without logging in.

License

Licensed under either of

at your option.

Contribution

Contributions are welcome by pull request. The Rust code of conduct applies. Please feel free to add your name to the AUTHORS file in any substantive pull request.

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

Dependencies

~3–18MB
~265K SLoC