This Rust crate contains a no_std compatible interface in form of traits to
bridge between a bus driver and a display driver. The goal here is to allow
display drivers to be written in a hardware interface agnostic way and prevent
code duplication and missing implementations.
Additional features can be enabled by adding the following features to your Cargo.toml.
async: enablesAsyncWriteOnlyDataCommand. This feature uses#[async_trait]and can be used with rustc 1.56 and newer. Using this feature requires allocator support.nightly: Enables support for nightly-only, unstable features. Together withasync, this will enable theasync_fn_in_traitandimpl_trait_projectionsunstable features, and removes the#[async_trait]workaround as well as the allocator requirement. This feature requires a nightly Rust compiler released on or after 2022-11-17.
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
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 dual licensed as above, without any additional terms or conditions.