Skip to content

Commit

Permalink
Refactor to support latest quick-xml version
Browse files Browse the repository at this point in the history
This commit sadly breaks support for VTK files with binary AppendedData
blobs.
The code needed to support this is currently not functional and
depends on the completion of this feature in quick-xml
(tracked in tafia/quick-xml#623)
All binary related code is now featured gated, which is a regression
from previous version of vtkio, but will be re-enabled in the future.
  • Loading branch information
elrnv committed Jul 16, 2023
1 parent e283f5b commit 55266f1
Show file tree
Hide file tree
Showing 4 changed files with 245 additions and 63 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ bytemuck = { version = "1.5", features = ["extern_crate_alloc"] }
lz4 = { package = "lz4_flex", version = "0.10", optional = true }
flate2 = { version = "1.0.19", optional = true }
xz2 = { version = "0.1.6", optional = true } # LZMA
# quick-xml = { git = "https://github.com/tafia/quick-xml", version = "0.29", features = ["serialize"], optional = true }
quick-xml = { path = "../quick-xml", features = ["serialize"], optional = true }
# quick-xml = { git = "https://github.com/elrnv/quick-xml", features = ["serialize"], optional = true, branch = "binary-support" }
# quick-xml = { path = "../quick-xml", features = ["serialize", "binary"], optional = true }
quick-xml = { version = "0.28", features = ["serialize"], optional = true }
serde = { version = "1.0", features = ["derive"], optional = true }
tokio = { version = "1.3", features = ["fs", "io-util"], optional = true }
rayon = { version = "1.0", optional = true }
Expand All @@ -45,4 +44,5 @@ async = ["tokio"]
compression = ["lz4", "xz2", "flate2"]
parallel = ["rayon"]
xml = ["quick-xml", "serde"]
binary = []
unstable = []
Loading

0 comments on commit 55266f1

Please sign in to comment.