Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Outdated version on crates.io #16

Open
unixb0y opened this issue Sep 9, 2024 · 2 comments
Open

Outdated version on crates.io #16

unixb0y opened this issue Sep 9, 2024 · 2 comments

Comments

@unixb0y
Copy link

unixb0y commented Sep 9, 2024

When installing through the regular cargo command, it pulls the v0.2.1 version which is severely outdated and might even have entirely wrong regexes, since they just don't match almost any "spelling" of //todo.

@jayvdb
Copy link
Contributor

jayvdb commented Oct 4, 2024

Last published version is 3 years ago

Also recommend using https://github.com/taiki-e/upload-rust-binary-action

@sandtreader
Copy link

Indeed, the 'cargo install cargo-todo' version (which doesn't have a version number) installs this in ~/.cargo/todo_config:

^s*//s*todo\b
^s*//s*fix\b
^s*//s*fixme\b

Replace this with the regex from the README:

(?i)^\s*//\s*todo\b
(?i)^\s*//\s*fix\b
(?i)^\s*//\s*fixme\b

and it then approximately works, although it still doesn't recognise comments after code:

panic!("Lost my towel"); // TODO Don't panic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants