iced/native
2020-02-06 02:37:49 +01:00
..
src Implement TextInput styling in iced_web 2020-02-06 02:37:49 +01:00
Cargo.toml Add Application::Executor associated type 2020-01-20 04:47:36 +01:00
CHANGELOG.md Add Button::height and Button::min_height 2019-12-09 21:59:31 +01:00
README.md Add installation section to subcrate READMEs 2019-11-20 09:56:16 +01:00

iced_native

Documentation Crates.io License project chat

iced_native takes iced_core and builds a native runtime on top of it, featuring:

  • A custom layout engine, greatly inspired by druid
  • Event handling for all the built-in widgets
  • A renderer-agnostic API

To achieve this, it introduces a bunch of reusable interfaces:

  • A Widget trait, which is used to implement new widgets: from layout requirements to event and drawing logic.
  • A bunch of Renderer traits, meant to keep the crate renderer-agnostic.
  • A Windowed trait, leveraging raw-window-handle, which can be implemented by graphical renderers that target windows. Window-based shells (like iced_winit) can use this trait to stay renderer-agnostic.

iced_native

Installation

Add iced_native as a dependency in your Cargo.toml:

iced_native = "0.1.0"

Iced moves fast and the master branch can contain breaking changes! If you want to learn about a specific release, check out the release list.