{"id":13550143,"url":"https://github.com/imbolc/tower-request-id","last_synced_at":"2025-05-03T12:31:35.180Z","repository":{"id":57670273,"uuid":"411569908","full_name":"imbolc/tower-request-id","owner":"imbolc","description":"A tower (hyper, axum, warp) service to add an unique id for every request","archived":false,"fork":false,"pushed_at":"2023-12-02T10:40:56.000Z","size":14,"stargazers_count":29,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-01T05:37:09.111Z","etag":null,"topics":["rust","tokio-rs","web"],"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/imbolc.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}},"created_at":"2021-09-29T07:17:44.000Z","updated_at":"2025-05-01T03:00:36.000Z","dependencies_parsed_at":"2024-01-19T07:04:44.054Z","dependency_job_id":"8da644ef-e3b3-44d3-b810-80712302c6a4","html_url":"https://github.com/imbolc/tower-request-id","commit_stats":{"total_commits":12,"total_committers":2,"mean_commits":6.0,"dds":0.08333333333333337,"last_synced_commit":"fe372479a56bd540784b87812d4d78473e43c6d4"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbolc%2Ftower-request-id","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbolc%2Ftower-request-id/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbolc%2Ftower-request-id/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imbolc%2Ftower-request-id/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imbolc","download_url":"https://codeload.github.com/imbolc/tower-request-id/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252191059,"owners_count":21709003,"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":["rust","tokio-rs","web"],"created_at":"2024-08-01T12:01:29.428Z","updated_at":"2025-05-03T12:31:34.678Z","avatar_url":"https://github.com/imbolc.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"[![License](https://img.shields.io/crates/l/tower-request-id.svg)](https://choosealicense.com/licenses/mit/)\n[![Crates.io](https://img.shields.io/crates/v/tower-request-id.svg)](https://crates.io/crates/tower-request-id)\n[![Docs.rs](https://docs.rs/tower-request-id/badge.svg)](https://docs.rs/tower-request-id)\n\n# tower-request-id\n\n\u003c!-- cargo-sync-readme start --\u003e\n\nA tiny [tower] ([hyper], [axum], [warp] etc) service to generate a random id for each\nincoming request.\n\n## Usage\n\nAfter adding the [`RequestIdLayer`] into the [axum] middlewares the request id is available in\nthe [`http::Request::extensions()`]. For the [tracing] integration, please refer to the\n[logging example].\n\n[tower]: https://crates.io/crates/tower\n[hyper]: https://crates.io/crates/hyper\n[axum]: https://crates.io/crates/axum\n[warp]: https://crates.io/crates/warp\n[tracing]: https://crates.io/crates/tracing\n[`Request.extensions()`]: https://docs.rs/http/0.2.5/http/request/struct.Request.html#method.extensions\n[logging example]: https://github.com/imbolc/tower-request-id/blob/main/examples/logging.rs\n\n\u003c!-- cargo-sync-readme end --\u003e\n\n## Contributing\n\nWe appreciate all kinds of contributions, thank you!\n\n\n### Note on README\n\nMost of the readme is automatically copied from the crate documentation by [cargo-sync-readme][].\nThis way the readme is always in sync with the docs and examples are tested.\n\nSo if you find a part of the readme you'd like to change between `\u003c!-- cargo-sync-readme start --\u003e`\nand `\u003c!-- cargo-sync-readme end --\u003e` markers, don't edit `README.md` directly, but rather change\nthe documentation on top of `src/lib.rs` and then synchronize the readme with:\n```bash\ncargo sync-readme\n```\n(make sure the cargo command is installed):\n```bash\ncargo install cargo-sync-readme\n```\n\nIf you have [rusty-hook] installed the changes will apply automatically on commit.\n\n\n## License\n\nThis project is licensed under the [MIT license](LICENSE).\n\n[cargo-sync-readme]: https://github.com/phaazon/cargo-sync-readme\n[rusty-hook]: https://github.com/swellaby/rusty-hook\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbolc%2Ftower-request-id","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimbolc%2Ftower-request-id","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimbolc%2Ftower-request-id/lists"}