actix-xml
XML extractor for actix-web.
This crate provides struct Xml
that can be used to extract typed information from request's body.
Under the hood, quick-xml is used to parse payloads.
Example
use ;
use Xml;
use Deserialize;
/// deserialize `Info` from request's body
async
Features
encoding
: support non utf-8 payloadcompress
(default): enable actix-webcompress
support
If you've removed compress
feature flag for actix-web, make sure to remove it by setting default-features=false
, or
it will be re-enabled for actix-web.
License
MIT