dev_dep_doc

Macro dev_dep_doc 

Source
macro_rules! dev_dep_doc {
    ( $( $tt:tt )* ) => { ... };
}
Expand description

Generates a Cargo.toml code snippet showing how to add the current crate as a dev-dependency.

ยงExample

The simplest invocation is:

#![doc = dep_doc::dev_dep_doc!()]

Specific feature, git repository, path can be passed in the macro invocation:

#![doc = dep_doc::dev_dep_doc!(git = "https://github.com/scrabsha/dep-doc")]