Crates.io | rustme |
lib.rs | rustme |
version | 0.1.1 |
source | src |
created_at | 2021-11-09 00:58:03.875067 |
updated_at | 2021-11-09 17:21:08.817317 |
description | Automatically generate Rusty READMEs |
homepage | |
repository | https://github.com/khonsulabs/rustme |
max_upload_size | |
id | 478695 |
size | 55,775 |
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 librarylet 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.