lcdsmartie-rs

Crates.iolcdsmartie-rs
lib.rslcdsmartie-rs
version0.2.0
sourcesrc
created_at2024-05-17 14:22:12.825123
updated_at2024-06-05 14:48:48.907768
descriptionSmall framework to enable writing plugins for LCDSmartie in Rust (even for old OSes)
homepage
repositoryhttps://github.com/ChlorideCull/lcdsmartie-rs
max_upload_size
id1243306
size19,953
Sebastian Johansson (ChlorideCull)

documentation

README

lcdsmartie-rs

lcdsmartie-rs is a small framework to enable writing plugins for LCDSmartie in Rust. It is no_std to enable usage on older versions of Windows (down to Windows 2000, theoretically) but requires an alloc implementation.

This also handles various undocumented quirks, including:

  • Strings in the API being limited to the default Windows ANSI code page
  • Undefined lifespans on memory (handled mostly by just reusing a static 4KB buffer)

Minimum Supported Rust Version (MSRV)

Before 1.0, there will be no formal MSRV policy - but it was developed with rustc 1.77, and 1.64 is the lowest version able to compile, according to cargo-msrv (C FFI and CStr in core was stabilized then, which is hardly used - it can be refactored out if there is a need to support older versions)

Commit count: 3

cargo fmt