我使用serde-xml-rs来代替它,没有太多的麻烦:
#608: Return a new errorError::EmptyDocTypeon empty doctype instead of crashing because of a debug assertion. Misc Changes #594: Add a helper macro to help deserialize internally tagged enums with Serde, which doesn't work out-of-the-box due to serde limitations. #581:tafia/quick-xml#...
Bumps quick-xml from 0.36.2 to 0.37.0. Release notes Sourced from quick-xml's releases. v0.37.0 - serde & errors imporvements What's Changed ⚠️ Significant Changes Those changes could require not...
serde_json ="1.0" tokio ={version ="1",features =["full"]} To execute your Rust code, use the command: cargo run JsonRpcClient Generate JSON-RPC requests and parse responses in Python. Install it using the following command:
Kafka supports different type of compressions. If you store the data in JSON or XML format compression rate could be significant. Here is the examples of the numbers, that could be: This feature may save some space on the disks, but taking into account, that Kafka primarily used for ...
Updates the requirements on quick-xml to permit the latest version. Release notes Sourced from quick-xml's releases. Support serve >=1.0.181, various serde fixes and async writer What's Changed M...
Updates the requirements on quick-xml to permit the latest version. Release notes Sourced from quick-xml's releases. Serde helpers and indentation for async writer What's Changed New Features #6...
This has largely been inspired byserde-xml-rs. quick-xml follows its convention for deserialization, including the$valuespecial name. If you have an input of the form<foo abc="xyz">bar</foo>, and you want to get at thebar, you can use either the special name$text, or the special ...
// Cargo.toml// [dependencies]// serde = { version = "1.0", features = [ "derive" ] }// quick-xml = { version = "0.17", features = [ "serialize" ] }externcrateserde;externcratequick_xml;useserde::Deserialize;usequick_xml::de::{from_str,DeError};#[derive(Debug,Deserialize,Pa...
"quick-xml 0.29.0", "rand 0.8.5", "reqwest", "rustc_version", "serde", "serde_json", "time", "url", "uuid", ] [[package]] name = "azure_storage" version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32d9cfa13ed9acb51cd663...