Crate todl

source ·
Expand description

Todl allows for searching and working with comment tags. Comment tags are comments left in code or macros that use a pattern to categorize their purpose. See https://en.wikipedia.org/wiki/Comment_(computer_programming)#Tags for more information.

In this example there is a TODO comment tag and a rust todo! macro.

// TODO: Add cool features
fn foo() {
    todo!("This is where the cool features should be")
}

Basic usage

To use todl as a library

use todl::{search_files, SearchOptions};

for tag in search_files(".", SearchOptions::default()) {
    println!("{}", tag);
}

Re-exports

Modules

  • Identify and search source files
  • Progromatic representations of comment tags and similar macros

Structs

Functions