| Crates.io | druid-shell |
| lib.rs | druid-shell |
| version | 0.8.3 |
| created_at | 2019-11-02 04:56:05.017283+00 |
| updated_at | 2023-02-28 16:50:07.722551+00 |
| description | Platform abstracting application shell used for Druid toolkit. |
| homepage | |
| repository | https://github.com/linebender/druid |
| max_upload_size | |
| id | 177481 |
| size | 1,106,698 |
druid-shell provides a common interface to the various elements of different platform application
frameworks. It is designed to be used by Druid, a UI toolkit.
druid-shell v0.8 was forked to form Glazier, which is where all new development happens.
No further development is expected on druid-shell. We recommend everyone migrates to Glazier.
The code in druid-shell can be divided into roughly two categories: the
platform agnostic code and types, which are exposed directly, and the
platform-specific implementations of these types, which live in per-backend
directories in src/backend. The backend-specific code for the current
backend is re-exported as druid-shell::backend.
druid-shell does not generally expose backend types directly. Instead, we
expose wrapper structs that define the common interface, and then call
corresponding methods on the concrete type for the current backend.
Interacting with system APIs is inherently unsafe. One of the goals of
druid-shell is to handle all interaction with these APIs, exposing
a safe interface to druid and other possible consumers.