#![cfg_attr(not(test), no_std)]
#![warn(
// missing_docs,
clippy::pedantic,
clippy::nursery,
clippy::dbg_macro,
clippy::unwrap_used,
clippy::map_err_ignore,
clippy::panic,
clippy::unimplemented,
clippy::unreachable,
clippy::clone_on_ref_ptr,
clippy::create_dir,
clippy::exit,
clippy::filetype_is_file,
clippy::float_cmp_const,
clippy::indexing_slicing,
clippy::let_underscore_must_use,
clippy::lossy_float_literal,
clippy::pattern_type_mismatch,
clippy::string_slice,
clippy::try_err
)]
#![deny(
clippy::multiple_inherent_impl,
clippy::rc_buffer,
clippy::rc_mutex,
clippy::rest_pat_in_fully_bound_structs,
clippy::self_named_module_files,
clippy::separated_literal_suffix,
clippy::str_to_string,
clippy::string_add,
clippy::string_to_string,
clippy::unnecessary_self_imports,
clippy::unneeded_field_pattern,
clippy::verbose_file_reads
)]
#![allow(
clippy::module_name_repetitions,
clippy::similar_names,
clippy::cast_possible_truncation,
clippy::redundant_pub_crate,
clippy::indexing_slicing
)]
pub mod command;
pub mod display;
pub mod mode;
pub mod prelude;
pub mod rotation;
mod brightness;
mod driver;
mod spi;
pub use driver::Gc9a01;
pub use spi::SPIDisplayInterface;