{"id":16370813,"url":"https://github.com/integralist/crs","last_synced_at":"2025-10-26T07:32:09.404Z","repository":{"id":140160553,"uuid":"471766768","full_name":"Integralist/crs","owner":"Integralist","description":"HTTP Response Header Sorting and Filtering","archived":false,"fork":false,"pushed_at":"2024-12-19T12:56:15.000Z","size":5049,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-31T16:55:27.512Z","etag":null,"topics":["http","http-client","http-header","http-headers","http-response","open-source","rust","rust-crate","rust-lang"],"latest_commit_sha":null,"homepage":"","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/Integralist.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":"2022-03-19T17:31:35.000Z","updated_at":"2024-12-19T12:56:19.000Z","dependencies_parsed_at":"2024-04-16T10:04:44.387Z","dependency_job_id":null,"html_url":"https://github.com/Integralist/crs","commit_stats":{"total_commits":65,"total_committers":1,"mean_commits":65.0,"dds":0.0,"last_synced_commit":"296098d9c581350c0f9fbce01badc1cc38bed060"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2Fcrs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2Fcrs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2Fcrs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Integralist%2Fcrs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Integralist","download_url":"https://codeload.github.com/Integralist/crs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238284942,"owners_count":19446764,"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":["http","http-client","http-header","http-headers","http-response","open-source","rust","rust-crate","rust-lang"],"created_at":"2024-10-11T03:06:04.107Z","updated_at":"2025-10-26T07:32:04.010Z","avatar_url":"https://github.com/Integralist.png","language":"Rust","readme":"# crs\n\nThe `crs` command is a Rust version of the [Carbon](https://github.com/Integralist/carbon) CLI.\n\nCarbon can make a HTTP request, then sort, filter and display the HTTP response headers.\n\n\u003e **NOTE**: The name comes from carbon filtering: method of filtering impurities.\n\n## Usage\n\n![Usage](./static/1-Help.png)\n\n## Examples\n\n### Default\n\nThe default behaviour is to display all response headers, followed by the HTTP status code:\n\n![Usage](./static/2-Default.png)\n\n### Filtering and JSON\n\n- The `--filter` flag will attempt a partial match for each comma-separated value.\n- The `--json` flag outputs the data as JSON.\n\n\u003e **NOTE**: The following example pipes to [`jq`](https://stedolan.github.io/jq/) for pretty-printing.\n\n![Example of filtering](./static/3-Filter.png)\n![Example of filtering and JSON](./static/4-Filter-and-JSON.png)\n\n### Response Body\n\n- The `--body` flag will display the response body below the HTTP headers/status.\n\n\u003e **NOTE:** The `--body` flag is incompatible with the `--json` flag\\\n\u003e i.e. don't use `--json` and also try to include the response body.\n\n![Example of response body](./static/5-Body.png)\n\n## TODO\n\n- [Deploy binaries via GitHub Actions][1]\n- [Read article on testing a CLI in Rust][2]\n\n[1]: https://dzfrias.dev/blog/deploy-rust-cross-platform-github-actions/\n[2]: https://rust.code-maven.com/test-command-line-application\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegralist%2Fcrs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintegralist%2Fcrs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintegralist%2Fcrs/lists"}