File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ cli-interface.path="crates/cli-interface"
2121# crates use different major versions causing issues.
2222bytecount = " 0.6.7"
2323log = " 0.4.19"
24- pdf = " 0.8.1 "
24+ pdf = " 0.9.0 "
2525anyhow = " 1.0.72"
2626indicatif = " 0.17"
2727crossbeam = " 0.8.2"
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use std::collections::hash_map::HashMap;
44use anyhow:: anyhow;
55use pdf:: PdfError ;
66use pdf:: any:: AnySync ;
7- use pdf:: file:: { Cache , Storage } ;
7+ use pdf:: file:: { Cache , NoLog , Storage } ;
88use pdf:: object:: { ParseOptions , PlainRef } ;
99
1010#[ derive( Clone ) ]
@@ -21,7 +21,7 @@ type ObjectCache = SimpleCache<Result<AnySync, Arc<PdfError>>>;
2121type StreamCache = SimpleCache < Result < Arc < [ u8 ] > , Arc < PdfError > > > ;
2222
2323pub struct PDFCrackerState (
24- Storage < Vec < u8 > , ObjectCache , StreamCache >
24+ Storage < Vec < u8 > , ObjectCache , StreamCache , NoLog >
2525) ;
2626
2727impl PDFCrackerState {
@@ -32,6 +32,7 @@ impl PDFCrackerState {
3232 ParseOptions :: strict ( ) ,
3333 SimpleCache :: new ( ) ,
3434 SimpleCache :: new ( ) ,
35+ NoLog
3536 ) ;
3637
3738 match res {
You can’t perform that action at this time.
0 commit comments