6 releases (3 breaking)
|0.6.0||Jun 1, 2020|
|0.5.0||Apr 1, 2020|
|0.4.0||Dec 28, 2019|
|0.3.2||Nov 11, 2019|
#26 in Windows APIs
353 downloads per month
Used in 11 crates (via druid)
druid-shell is an attempt to provide a common interface to the various
elements of different platform application frameworks. It is designed to be used
by druid, a UI toolkit.
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-platform
src/platform. The platform-specific code for the current
platform is reexported as
druid-shell does not generally expose platform types directly. Instead, we
expose wrapper structs that define the common interface, and then call
corresponding methods on the concrete type for the current platform.
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.