Skip to content

Commit

Permalink
Update dependencies, minor tweak for bitflags to work.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwanner authored and s3bk committed Jun 22, 2024
1 parent a9087fa commit b0f40b6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pdf/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ default = ["sync", "cache"]

[dependencies]
pdf_derive = { version = "0.2.0", path = "../pdf_derive" }
snafu = "0.7.1"
snafu = "0.8.3"
libflate = "2.0.0"
deflate = "1.0.0"
itertools = "0.10.0"
memmap2 = { version = "0.5.0", optional = true }
itertools = "0.13.0"
memmap2 = { version = "0.9.4", optional = true }
weezl = "0.1.4"
once_cell = "1.5.2"
log = "0.4.14"
Expand All @@ -37,7 +37,7 @@ stringprep = "0.1.2"
sha2 = "0.10.2"
fax = "0.2.0"
euclid = { version = "0.22.7", optional = true }
bitflags = "1.3"
bitflags = "2.5"
istring = { version = "0.3.3", features = ["std", "size"] }
datasize = "0.2.13"
globalcache = { version = "0.2.2", features = ["sync"], optional = true }
Expand Down
2 changes: 2 additions & 0 deletions pdf/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ const MAX_DEPTH: usize = 20;


bitflags! {
#[repr(transparent)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub struct ParseFlags: u16 {
const INTEGER = 1 << 0;
const STREAM = 1 << 1;
Expand Down

0 comments on commit b0f40b6

Please sign in to comment.