Skip to content

Commit

Permalink
build(deps): update quick-xml requirement from 0.36.0 to 0.37.0 (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Oct 29, 2024
1 parent 65600b6 commit 56e329c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
6 changes: 4 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ byteorder = "1.5.0"
bytes = "1.7.1"
cfb = "0.10.0"
encoding_rs = "0.8.34"
fake = { version = "2.9.2", features = ["derive"] }
# As https://github.com/cksac/fake-rs/pull/197 has not been released, we
# use a git dependency.
fake = { git = "https://github.com/cksac/fake-rs.git", rev = "23a753a", features = ["derive"] }
md2 = "0.10.2"
nom = "7.1.3"
serde = { version = "1.0.208", features = ["derive"] }
serde_json = { version = "1.0.125", features = ["preserve_order"] }
utf16string = "0.2.0"
quick-xml = { version = "0.36.0", features = ["serialize"] }
quick-xml = { version = "0.37.0", features = ["serialize"] }
serde_repr = "0.1.16"
hex = "0.4.3"
wavefront_rs = "2.0.0-beta.1"
Expand Down
5 changes: 4 additions & 1 deletion src/directb2s/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,10 @@ pub fn read<R: BufRead>(reader: R) -> Result<DirectB2SData, DeError> {
from_reader(reader)
}

pub fn write<W: std::fmt::Write>(data: &DirectB2SData, writer: &mut W) -> Result<(), DeError> {
pub fn write<W: std::fmt::Write>(
data: &DirectB2SData,
writer: &mut W,
) -> Result<WriteResult, SeError> {
let mut ser = Serializer::new(writer);
ser.indent(' ', 2);
data.serialize(ser)
Expand Down

0 comments on commit 56e329c

Please sign in to comment.