embedded-exfat
An exFAT Library in rust mainly focusing on
no_stdembedded system with async support
alloc is mandatory for this crate, although memory allocation is minimized,
256B for upcase table and 12B plus name size for each file or directory,
and 12B for root directory.
For async scenario, enable async-std feature if std library available
otherwide enable async feature
For no_std scenario, be aware that thread safety is provided by spin crate,
which potenitally leads to dead lock.
Using this crate
use Write;
use Error;
use FileIO;
use ExFAT;
use FileOrDirectory;
let io = open.map_err.unwrap;
let mut exfat = new.unwrap;
exfat.validate_checksum.unwrap;
let mut root = exfat.root_directory.unwrap;
root.validate_upcase_table_checksum.unwrap;
let mut file = match root.open.unwrap.open.unwrap ;
let mut stdout = stdout;
let mut buf = ;
loop