Generate your Rust project's README-like files.
RustMe generates files by concatenating multiple sections into a new file. It has specific features that are useful for Rust projects:
#
, making the blocks render the same as when used with #![doc =
include_str!("...)]
. This crate uses this functionality with the code snippet
below.rustme
command line interfaceTo install, simply run cargo install rustme
.
Currently rustme
ignores all command line arguments. It looks for a
Ron-formatted Configuration
located in either
./rustme.ron
or ./.rustme/config.ron
, and generates the files relative to
the configuration file.
rustme
as a libraryrust
let config = rustme::Configuration::load("examples/basic/.rustme.ron").unwrap();
config.generate().unwrap();
rustme
This README was generated using rustme
.
This project, like all projects from Khonsu Labs, are open-source. This repository is available under the MIT License or the Apache License 2.0.
To learn more about contributing, please see CONTRIBUTING.md.