Expand description
Library used to implement the cargo-sync-readme binary.
Modules§
- intralinks
- Tooling to manipulate intralinks by parsing Rust code.
Structs§
- Manifest
- The project manifest.
- With
Warnings - An object with warnings accumulated while creating this object.
Enums§
- Find
Manifest Error - Possible error that might happen while looking for the project manifest.
- Prefer
DocFrom - Preferences from which file the documentation should be taken if both present.
- Transform
Error - Errors that might happen while transforming documentation.
Constants§
- MANIFEST_
NAME - Name of the manifest containing the project metadata.
- MARKER_
END - End marker in the README file.
- MARKER_
END_ RE - Regular expression to find the end marker.
- MARKER_
RE - Regular expression to find the initial marker.
- MARKER_
START - Start marker in the README file.
- MARKER_
START_ RE - Regular expression to find the start marker.
Functions§
- extract_
inner_ doc - Open a Rust file and get its main inner documentation (//!), applying filters if needed.
- read_
readme - Open and read a README file.
- transform_
readme - Transform a readme and return its content with the documentation injected, if any.