{"id":17866495,"url":"https://github.com/LightQuantumArchive/actix-xml","last_synced_at":"2025-03-21T07:31:46.123Z","repository":{"id":37900973,"uuid":"384985295","full_name":"LightQuantumArchive/actix-xml","owner":"LightQuantumArchive","description":"XML extractor for actix-web","archived":false,"fork":false,"pushed_at":"2025-03-10T16:42:34.000Z","size":378,"stargazers_count":1,"open_issues_count":8,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-17T19:22:01.572Z","etag":null,"topics":["actix","actor","extractor","parser","parsing","reader","request","rust","xml"],"latest_commit_sha":null,"homepage":"","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/LightQuantumArchive.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":"2021-07-11T15:34:20.000Z","updated_at":"2025-01-13T22:36:59.000Z","dependencies_parsed_at":"2023-02-16T20:50:30.881Z","dependency_job_id":"9d86804d-a751-4470-b68b-0476177e146c","html_url":"https://github.com/LightQuantumArchive/actix-xml","commit_stats":{"total_commits":83,"total_committers":2,"mean_commits":41.5,"dds":0.08433734939759041,"last_synced_commit":"2c794d0123eb5bcf85103c48594600370cc3521f"},"previous_names":["lightquantumarchive/actix-xml","photonquantum/actix-xml"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightQuantumArchive%2Factix-xml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightQuantumArchive%2Factix-xml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightQuantumArchive%2Factix-xml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LightQuantumArchive%2Factix-xml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LightQuantumArchive","download_url":"https://codeload.github.com/LightQuantumArchive/actix-xml/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244120744,"owners_count":20401173,"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":["actix","actor","extractor","parser","parsing","reader","request","rust","xml"],"created_at":"2024-10-28T09:37:15.743Z","updated_at":"2025-03-21T07:31:45.854Z","avatar_url":"https://github.com/LightQuantumArchive.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# actix-xml\n\n[![crates.io](https://img.shields.io/crates/v/actix-xml?style=flat-square)](https://crates.io/crates/actix-xml)\n[![Documentation](https://img.shields.io/docsrs/actix-xml?style=flat-square)](https://docs.rs/actix-xml)\n\nXML extractor for actix-web.\n\nThis crate provides struct `Xml` that can be used to extract typed information from request's body.\n\nUnder the hood, [quick-xml](https://github.com/tafia/quick-xml) is used to parse payloads.\n\n## Example\n\n```rust\nuse actix_web::{web, App};\nuse actix_xml::Xml;\nuse serde::Deserialize;\n\n#[derive(Deserialize)]\nstruct Info {\n    username: String,\n}\n\n/// deserialize `Info` from request's body\nasync fn index(info: Xml\u003cInfo\u003e) -\u003e String {\n    format!(\"Welcome {}!\", info.username)\n}\n\nfn main() {\n    let app = App::new().service(\n        web::resource(\"/index.html\").route(\n            web::post().to(index))\n    );\n}\n```\n\n## Features\n\n- `encoding`: support non utf-8 payload\n- `compress-brotli`(default): enable actix-web `compress-brotli` support\n- `compress-gzip`(default): enable actix-web `compress-gzip` support\n- `compress-zstd`(default): enable actix-web `compress-zstd` support\n\nIf you've removed one of the `compress-*` feature flag for actix-web, make sure to remove it by\nsetting `default-features=false`, or it will be re-enabled for actix-web.\n\n## Version Support\n\n- `0.1.x` - supports `actix-web 3.3.x`\n- `0.2.0-beta.0` - supports `actix-web 4.0.0.beta.8`\n- `0.2.0` - supports `actix-web 4.0.x`\n\n## License\n\nMIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLightQuantumArchive%2Factix-xml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLightQuantumArchive%2Factix-xml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLightQuantumArchive%2Factix-xml/lists"}