[][src]Macro git_testament::render_testament

macro_rules! render_testament {
    ( $testament:expr ) => { ... };
}

Render a testament

This macro can be used to render a testament created with the git_testament macro. It renders a testament with the added benefit of indicating if the tag does not match the version (by substring) then the crate's version and the tag will be displayed in the form: "crate-ver :: testament..."

use git_testament::{git_testament, render_testament};

git_testament!(TESTAMENT);

println!("The testament is: {}", render_testament!(TESTAMENT));