{"id":22370365,"url":"https://github.com/jder-std/axum","last_synced_at":"2025-07-30T20:31:41.172Z","repository":{"id":257809965,"uuid":"867805420","full_name":"alpheustangs/jder_axum","owner":"alpheustangs","description":"A response builder for Axum","archived":false,"fork":false,"pushed_at":"2024-11-08T00:56:52.000Z","size":162,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-08T01:46:03.369Z","etag":null,"topics":["axum","builder","extractor","json","response","rust"],"latest_commit_sha":null,"homepage":"https://docs.rs/jder_axum","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alpheustangs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-04T18:53:39.000Z","updated_at":"2024-11-08T00:56:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"862c8a21-f008-4ad0-9a60-5488fb9db2f8","html_url":"https://github.com/alpheustangs/jder_axum","commit_stats":null,"previous_names":["alpheustangs/jder_axum"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpheustangs%2Fjder_axum","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpheustangs%2Fjder_axum/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpheustangs%2Fjder_axum/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alpheustangs%2Fjder_axum/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alpheustangs","download_url":"https://codeload.github.com/alpheustangs/jder_axum/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228182929,"owners_count":17881594,"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":["axum","builder","extractor","json","response","rust"],"created_at":"2024-12-04T19:45:01.480Z","updated_at":"2025-07-30T20:31:41.161Z","avatar_url":"https://github.com/alpheustangs.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JDER axum\n\nA response builder for axum.\n\nThis package includes different axum response builders, extractors and layers based on the JSON response structure specified in [JSON Data Error Response (JDER)](https://github.com/jder-std/spec). With the builders and extractors provided, various kinds of responses can be created easily instead of sending plain text responses.\n\n## Installation\n\nTo install this package, run the following command:\n\n```bash\ncargo add jder_axum\n```\n\n## Quick Start\n\nCreate a JSON response for an axum route:\n\n```rust\nuse jder_axum::response::{\n    Response,\n    json::CreateJsonResponse,\n};\n\nasync fn route() -\u003e Response {\n    CreateJsonResponse::dataless().send()\n}\n```\n\nAnd the response will be shown as below:\n\n```json\n{\n    \"success\": true,\n    \"data\": null,\n    \"error\": null\n}\n```\n\n## Compatibility\n\nA compatibility list of `axum` and `jder_axum`:\n\n| `axum` Version | `jder_axum` Version |\n| -------------- | ------------------- |\n| ~0.8.3         | 0.5.0+              |\n| ~0.8.1         | 0.4.0               |\n| ~0.7.9         | 0.3.1               |\n| ~0.7.7         | 0.1.0 - 0.3.0       |\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjder-std%2Faxum","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjder-std%2Faxum","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjder-std%2Faxum/lists"}