Skip to main content

Crate automd_rs

Crate automd_rs 

Source
Expand description

Update README blocks from Cargo.toml; handler dispatches by block name to generators.

Re-exports§

pub use error::Error;
pub use error::Result;
pub use handler::BlockHandler;
pub use handler::DefaultHandler;
pub use handler::UpdateContext;
pub use parser::cargo::ParsedManifest;
pub use parser::cargo::parse as parse_manifest;
pub use parser::readme::BlockRequest;
pub use parser::readme::assign_and_generate;
pub use parser::readme::parse_readme_blocks;
pub use parser::readme::replace_blocks_once;
pub use parser::readme::update_readme;

Modules§

error
Error types and Result alias.
generators
Block generators: (config, manifest) → lines. No parsing; handler builds config.
handler
Block dispatcher: parses tag options, routes to generators, fills block body.
parser
README and Cargo.toml parsing for automdrs blocks.

Functions§

run
run_with_handler
Run with custom handler: parse Cargo.toml → parse README → generate per block → replace once.