fix(bf-zv0ef): add required-features to cmap_tokenize benchmark
The cmap_tokenize benchmark uses CJK tokenization functions that are behind the 'cjk' feature flag. Added required-features = ["cjk"] to the benchmark configuration in Cargo.toml so cargo check --all-targets passes cleanly. This fixes compilation error: error[E0432]: unresolved import pdftract_core::cmap::tokenize_cjk_bytes (item is gated behind cjk feature). Verification: cargo check --all-targets now passes with no errors.
This commit is contained in:
parent
414ccff490
commit
8b3aa8e17c
1 changed files with 1 additions and 0 deletions
|
|
@ -107,6 +107,7 @@ harness = false
|
|||
[[bench]]
|
||||
name = "cmap_tokenize"
|
||||
harness = false
|
||||
required-features = ["cjk"]
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
# Document all public API features except those requiring system libraries.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue