{"id":18463951,"url":"https://github.com/unleash/actix-middleware-etag","last_synced_at":"2025-12-12T13:59:14.217Z","repository":{"id":60417534,"uuid":"537842624","full_name":"Unleash/actix-middleware-etag","owner":"Unleash","description":"ETag middleware for Actix-web \u003e4","archived":false,"fork":false,"pushed_at":"2025-03-11T02:41:35.000Z","size":115,"stargazers_count":2,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T08:51:12.735Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Unleash.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2022-09-17T15:02:12.000Z","updated_at":"2025-02-20T12:16:46.000Z","dependencies_parsed_at":"2023-11-23T12:42:02.671Z","dependency_job_id":"114ff18b-809a-490e-9ef6-b365787c3480","html_url":"https://github.com/Unleash/actix-middleware-etag","commit_stats":null,"previous_names":["chriswk/actix-middleware-etag"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Factix-middleware-etag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Factix-middleware-etag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Factix-middleware-etag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Unleash%2Factix-middleware-etag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Unleash","download_url":"https://codeload.github.com/Unleash/actix-middleware-etag/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247804309,"owners_count":20998945,"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-06T09:08:26.825Z","updated_at":"2025-12-12T13:59:14.161Z","avatar_url":"https://github.com/Unleash.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ETag middleware for Actix web\n\nTo use \n```rust\nuse actix_web::{web, App, HttpServer, HttpResponse, Error};\nuse actix_middleware_etag::{Etag};\n#[actix_web::main]\nasync fn main() -\u003e std::io::Result\u003c()\u003e {\n    HttpServer::new(move ||\n            App::new()\n            // Add etag headers to your actix application. Calculating the hash of your GET bodies and putting the base64 hash in the ETag header\n            .wrap(Etag::default())\n                ...\n        .bind((\"127.0.0.1\", 8080))?\n        .run()\n        .await\n}\n```\n\nThis will hash all bodies for GET requests and base64 encode the hash as a weak ETag header in the response\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funleash%2Factix-middleware-etag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Funleash%2Factix-middleware-etag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Funleash%2Factix-middleware-etag/lists"}