18 releases (breaking)
✓ Uses Rust 2018 edition
|0.13.0-pre2||Dec 10, 2018|
|0.13.0-pre0||Nov 26, 2018|
|0.10.0||Jun 22, 2018|
|0.6.0||Feb 25, 2018|
|0.3.1||Jun 8, 2017|
#35 in GUI
232 downloads per month
Used in 1 crate
The lightweight platform-agnostic device interface abstraction layer for creating apps and video games.
Aldaron's Device Interface aims to be the new SDL in some aspects, but isn't specifically targeting video games. This library also aims to replace cross-platform GUI toolkits like GTK. Ultimately, though, it's cooler than both combined, and way smaller! Since those libraries are 3-letter acronyms, this library must also be: ADI!
Rather than having a bunch of separately maintained projects like SDL,
everything is together in ADI. By default, everything is built (all of the
device interfaces). This usually is not what you want, so this is how you
should specify ADI in your
Cargo.toml if you only want the
[dependencies.adi] version = "0.13" default-features = false features = ["screen"] path = "../adi"
Thanks to Cargo, that's a lot easier than finding all of the SDL libraries! Conveniently, the features have the same name as the modules in this documentation, to make it even easier!
|Module / Feature||More Info|
||Microphone support on Linux (Alsa). TODO: Android, Windows, MacOS / iOS, Nintendo Switch, Web Assembly|
||Speaker support on Linux (Alsa). TODO: Android, Windows, MacOS / iOS, Nintendo Switch, Web Assembly|
||Screen support on Linux and Windows. Can switch between OpenGL, OpenGLES or Vulkan depending on what's available. TODO: Vulkan + Android, Vulkan + DirectFB on Raspberry Pi, Metal or MoltenVk on MacOS & iOS, Vulkan on the Nintendo Switch, WebGL on Web Assembly|
||Human interface device, which may also have haptic feedback (vibrate). TODO: Separate from Screen, Implement missing joystick & touchpad support on Windows, missing touch|
||Client / Server Wi-Fi & Ethernet stuff (even easier, simpler than
||Application / Drive Storage (more secure than
||Low level USB interface. Send and recieve packets over USB between a Computer and an Arduino, Tablet, or Phone.|
||Send and receive packets over bluetooth.|
||Record Video from a Webcam or other Camera.|
||Geographic position locator through GPS, WiFi, Cell Towers, or a combination.|
||Gyroscope, accelerometer, distance sensor, etc.|
||GPIO (General Purpose Input/Output) for electronics. Raspberry Pi and Arduino are good candidates for using this feature.|
Once all of the modules / features listed above exist in the crate, and no longer have TODO written next to them, version 1.0 will be released.