#devices #information #struct #file #json #reading

no-std dif

Device Information File, a library for reading .dif files into a Rust struct

2 releases

Uses old Rust 2015

0.1.1 Aug 3, 2022
0.1.0 Jul 27, 2022

#698 in Memory management

GPL-3.0 license

18KB
357 lines

DIF

Device Information File

A library for turning .dif files into a Rust struct. Made for Novusk.

DIFs are used for giving bare metal apps or kernels some information about the device and some of the things that need to be done. .dif files are similar to .json files which makes them easy to write, here is some documentation on how to write them.

Library documentaion


example.dif:

[
  ("DifFileName", "example.dif"),
]

No runtime deps

Features