Miners Rust Lib - A massive collection of ever growing and changing functions, structs, and enums. Check the description for compatibility and toggleable features! (Most of the lib is controlled by flags/features so the lib can continue to be lightweight despite its size)
modnative;pubusenative::*;/// Why bother reading files if you can't process them? Let [`file_data::FileData`] fix that.
modfile_data;pubusefile_data::{DataType, FileData};#[cfg(feature ="font_support")]#[cfg(not(target_arch ="wasm32"))]modget_os_font;#[cfg(feature ="font_support")]#[cfg(not(target_arch ="wasm32"))]pubuseget_os_font::get_default_font;/// The trait used by the file system implementations
pubmodfile_system_traits;#[cfg(not(target_arch ="wasm32"))]pubusenative::NativeFileSystem as FileSystem;#[cfg(feature ="font_support")]#[cfg(not(target_arch ="wasm32"))]implFileSystem{#[must_use]/// Get the default font the os uses
pubfnget_default_font(&self)->Option<fontdue::Font>{get_default_font(self).ok().and_then(|x|x.to_font().ok())}#[must_use]/// Get the default font the os uses
pubfnget_default_font_file(&self)->Option<FileData>{get_default_font(self).ok()}}