Skip to content

mkidv/rim

Repository files navigation

RIM (Rust Image Maker)

RIM is a comprehensive, pure-Rust toolkit for generating, manipulating, and analyzing disk images and filesystems. It is designed for high reliability, no_std embedding, and ease of use.

CI Crates.io License

Ecosystem

The project is divided into several composable crates:

Crate Description
rimgen High-level CLI tool and library to generate disk images declaratively (layout.toml).
rimfs Filesystem implementations (FAT32, ExFAT, EXT4) with no_std support.
rimpart Partition table manipulation (GPT, MBR) and streaming readers.
rimio Core I/O traits and abstractions (Blocking, Async-ready, UEFI/Std/Alloc support).

Installation

To install the CLI tool rimgen:

cargo install rimgen

Usage

Create a layout.toml file:

[[partitions]]
name = "boot"
size = { Fixed = 128 }
fs = "Fat32"
bootable = true

[[partitions]]
name = "root"
size = "auto"
fs = "Ext4"

Generate the image:

rimgen layout.toml --output disk.img

License

This project is licensed under the MIT License - see the LICENSE file for details.

Repository

Source code is available at: https://github.com/mkidv/rim

About

Comprehensive pure-Rust toolkit for generating and manipulating disk images and filesystems (FAT32, ExFAT, EXT4). Designed for high reliability and no_std embedded environments.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages