Skip to content

Commit

Permalink
upgrade quick-xml
Browse files Browse the repository at this point in the history
  • Loading branch information
jobafr committed Nov 13, 2024
1 parent a924d35 commit 11bdc70
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,3 @@ dxr_server = { path = "./dxr_server", version = "0.7.0-dev" }
codegen-units = 1
lto = true
opt-level = 3

2 changes: 1 addition & 1 deletion dxr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ required-features = ["derive", "i8", "nil"]
dxr_derive = { workspace = true, optional = true }
base64 = "0.22"
chrono = { version = "0.4.19", features = ["std"], default-features = false }
quick-xml = { version = "0.36", features = ["serialize"] }
quick-xml = { version = "0.37.0", features = ["serialize"] }
serde = { version = "1.0.104", features = ["derive"] }
thiserror = "1.0.30"

Expand Down
4 changes: 2 additions & 2 deletions dxr/src/xml.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use quick_xml::de::DeError;
use quick_xml::se::{QuoteLevel, Serializer};
use quick_xml::se::{QuoteLevel, Serializer, SeError};

use serde::{Deserialize, Serialize};

Expand All @@ -11,7 +11,7 @@ use serde::{Deserialize, Serialize};
/// implementations.
///
/// This should be a drop-in replacement for [`quick_xml::se::to_string`].
pub fn serialize_xml<T>(value: &T) -> Result<String, DeError>
pub fn serialize_xml<T>(value: &T) -> Result<String, SeError>
where
T: Serialize,
{
Expand Down

0 comments on commit 11bdc70

Please sign in to comment.