Skip to content

Small framework to enable writing plugins for LCDSmartie in Rust

Notifications You must be signed in to change notification settings

ChlorideCull/lcdsmartie-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

Small framework to enable writing plugins for LCDSmartie in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages