persist_docs

Function persist_docs 

Source
pub fn persist_docs() -> Result<()>
Expand description

Save the global store to a file

  • This is necessary because the global store cannot persist between compilation time and runtime
  • If no directory is specified it will create a directory that includes the name of the crate from which the proc macro is called See OUTPUT_DIR_PATH