{"id":13822648,"url":"https://github.com/ProbablyClem/cargo-todo","last_synced_at":"2025-05-16T17:31:23.171Z","repository":{"id":43399218,"uuid":"278665213","full_name":"ProbablyClem/cargo-todo","owner":"ProbablyClem","description":"Cargo tool to display TODOs","archived":false,"fork":false,"pushed_at":"2024-10-03T11:48:04.000Z","size":17322,"stargazers_count":27,"open_issues_count":3,"forks_count":4,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-04T03:47:05.849Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ProbablyClem.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-10T15:11:19.000Z","updated_at":"2025-03-25T05:17:49.000Z","dependencies_parsed_at":"2024-01-18T04:07:12.349Z","dependency_job_id":"6bb4208f-d438-4335-945a-fc63492a5d87","html_url":"https://github.com/ProbablyClem/cargo-todo","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.032258064516129004","last_synced_commit":"987b3a21045af998cf3940c989df8055cd6fc12f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProbablyClem%2Fcargo-todo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProbablyClem%2Fcargo-todo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProbablyClem%2Fcargo-todo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ProbablyClem%2Fcargo-todo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ProbablyClem","download_url":"https://codeload.github.com/ProbablyClem/cargo-todo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254576479,"owners_count":22094377,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T08:02:10.954Z","updated_at":"2025-05-16T17:31:22.913Z","avatar_url":"https://github.com/ProbablyClem.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# A tool to view every TODOs in the rust code\n\n## Installation\n```\n$ cargo install cargo-todo\n```\n\n## Usage \n\n\nyou can add parameters to you TODOs\n```\n//todo 2001/11/01 5 !clement implement getters\n```\nThe supported parameters are : \u003c/br\u003e\n * Priority : A number between 1 and 9\n * Deadline : A date format yyyy/mm/dd\n * Member : A text that begin with '!'\n * Content : Every text other thant the previouses will be considered as content\n\n\u003c/br\u003eThose parameters can be added in any order as long as they follow the syntax they will be automaticaly added\n\n### run\n```rust\n$cargo todo\nsrc/main.rs line: 331 //todo \nMember: clement\nPriority: 5\nDeadline: 2020-08-14\nimplement getters\n```\n\n### Default supported regex\n * (?i)^\\s*//\\s*todo\\b (//todo)\n * (?i)^\\s*//\\s*fix\\b (//fix)\n * (?i)^\\s*//\\s*fixme\\b (//fixme)\n### cargo todo now support customizable regex\nadd all your customs regex in the ~/.cargo/todo_config file (will be created at launch)\n## Features\n * -i, --inline : display todo in one line\n ```rust\n $cargo todo -i\n src/main.rs line: 331 //todo  Member: clement Priority: 5 Deadline: 2020-08-14 implement getters\n ```\n * -v, --verbose : Sets the level of verbosity\n \u003c/br\u003edefault or -vv \n \u003c/br\u003e full verbose\n -v less verbose\n ```rust\n $cargo todo -v\n src/main.rs line: 331 //todo \nimplement getters\n```\n * -x, --exclude \u003cexclude\u003e...   : Exclude some todos from the list\n ```rust\n $cargo todo -x //fix\n //wil display every todos expect those having the '//fix' keyword\n ```\n * -f, --filter \u003cfilter\u003e... : Filter todos to show\n ```rust\n $cargo todo -f //fix\n //wil only display todos having the '//fix' keyword\n ```\n * -l, --list \u003clist\u003e : Number of values to display\n ```rust\n $cargo todo -l 5\n ///wil display the first 5 todos\n ```\n * m, --member \u003cmember\u003e... : Filter from member\n ```rust\n $cargo todo -m clement\n ///wil only display todos having as member clement\n ```\n * -s, --sort \u003csort\u003e : Sort todos [possible values: priority, deadline, member]\n ```rust\n $cargo todo -s priority\n ///wil display todos sorted by their priority\n ```\n\n\n\n## Legacy mode\n### Can be used for legacy code base as it's support todo!() and unimplemented!()\n### Will display every line with a supported token (listed below) and the inside of the macro\n### /!\\ Legacy mode is way slower the the default mode and lacks a lot of cool features\n#### Example\ncode base\n```rust\ntodo!(\"implement getters\");\n```\n### run\n```rust\n$ cargo todo legacy\nsrc/main.rs TODO Line  125 : implement getters\n```\n## Supported tokens\n- //todo\n- todo!()\n- unimplemented!()\n- fix\n\n\n### /!\\ WARNING\nin legacy mode, cargo todo will no longer use regex but only the default tokens listed above\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FProbablyClem%2Fcargo-todo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FProbablyClem%2Fcargo-todo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FProbablyClem%2Fcargo-todo/lists"}