# Disk
[](https://github.com/hinto-janai/disk/actions/workflows/windows.yml) [](https://github.com/hinto-janai/disk/actions/workflows/macos.yml) [](https://github.com/hinto-janai/disk/actions/workflows/linux.yml) [](https://crates.io/crates/disk) [](https://docs.rs/disk)
Disk: [`serde`](https://docs.rs/serde) + [`directories`](https://docs.rs/directories) + various file formats as [`Traits`](https://doc.rust-lang.org/book/ch10-02-traits.html).
This crate is for (de)serializing to/from various file formats (provided by `serde`) to/from disk locations that follow OS-specific specifications/conventions (provided by `directories`).
All errors returned are of type [`anyhow::Error`](https://github.com/dtolnay/anyhow).
Full documentation @ https://docs.rs/disk