{"id":20874637,"url":"https://github.com/neomutt/iwyu","last_synced_at":"2025-06-19T07:11:05.785Z","repository":{"id":189688215,"uuid":"490288052","full_name":"neomutt/iwyu","owner":"neomutt","description":"Include What You Use -- Optimise `#include`s","archived":false,"fork":false,"pushed_at":"2025-02-27T19:22:28.000Z","size":101,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-12T16:15:04.473Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/neomutt.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},"funding":{"github":"flatcap","patreon":"neomutt","liberapay":"flatcap","custom":"paypal.me/russon"}},"created_at":"2022-05-09T13:09:37.000Z","updated_at":"2025-02-27T19:22:32.000Z","dependencies_parsed_at":"2023-08-21T11:31:46.836Z","dependency_job_id":"ec326013-609a-4678-bcdb-ac36560f8cae","html_url":"https://github.com/neomutt/iwyu","commit_stats":null,"previous_names":["neomutt/iwyu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/neomutt/iwyu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Fiwyu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Fiwyu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Fiwyu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Fiwyu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neomutt","download_url":"https://codeload.github.com/neomutt/iwyu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neomutt%2Fiwyu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260705892,"owners_count":23049494,"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-11-18T06:35:24.565Z","updated_at":"2025-06-19T07:11:00.753Z","avatar_url":"https://github.com/neomutt.png","language":"Shell","funding_links":["https://github.com/sponsors/flatcap","https://patreon.com/neomutt","https://liberapay.com/flatcap","paypal.me/russon"],"categories":[],"sub_categories":[],"readme":"# Include What You Use\n\n- [https://include-what-you-use.org/](https://include-what-you-use.org/)\n\n**iwyu** is a tool for deciding which `#include`s are needed, or not.\nIncluding the right files, and no more, can speed up builds.\nIt also helps to show the dependencies of a file.\n\n**iwyu** uses [clang](https://clang.llvm.org/) to create an\n[AST](https://en.wikipedia.org/wiki/Abstract_syntax_tree) for the code.\n\n## Usage\n\nConfigure + build NeoMutt with a compilation database.\n```sh\n./configure --compile-commands \u0026\u0026 make\n```\n\nThen run the main script with the source you wish to check:\n```sh\niwyu.sh mutt/*.[ch]\n```\n\nOr with all files in the compilation database:\n```sh\ntac compile_commands.json | sed '2 s/.$//' | tac | jq -r '.[] | .file' | xargs ../iwyu/bin/iwyu.sh\n```\n\n## Known Limitations\n\nOut of nearly 300 header files, most are correctly handled.\nThe exceptions are the curses and ssl headers.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneomutt%2Fiwyu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneomutt%2Fiwyu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneomutt%2Fiwyu/lists"}