pagesift-ocr 1.3.0

Pure-Rust OCR for scanned PDF pages: PP-OCRv6 text detection and recognition, on CPU or an NVIDIA GPU.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.89"
name = "pagesift-ocr"
version = "1.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Pure-Rust OCR for scanned PDF pages: PP-OCRv6 text detection and recognition, on CPU or an NVIDIA GPU."
readme = false
license = "Apache-2.0"
repository = "https://github.com/YOLOW92/pagesift"

[lib]
name = "pagesift_ocr"
path = "src/lib.rs"

[[example]]
name = "backbone_smoke"
path = "examples/backbone_smoke.rs"

[[example]]
name = "det_check"
path = "examples/det_check.rs"

[[example]]
name = "formula_check"
path = "examples/formula_check.rs"

[[example]]
name = "formula_enc_check"
path = "examples/formula_enc_check.rs"

[[example]]
name = "layout_check"
path = "examples/layout_check.rs"

[[example]]
name = "pdf_ocr_dir"
path = "examples/pdf_ocr_dir.rs"

[[example]]
name = "rec_check"
path = "examples/rec_check.rs"

[[test]]
name = "gpu_consistency"
path = "tests/gpu_consistency.rs"

[[test]]
name = "gpu_fallback"
path = "tests/gpu_fallback.rs"

[dependencies.pagesift-gpu]
version = "1.3.0"

[dependencies.pagesift-infer]
version = "1.3.0"

[dependencies.pagesift-pdf]
version = "1.3.0"

[dependencies.pagesift-stat]
version = "1.3.0"

[dependencies.serde_json]
version = "1.0.154"

[dependencies.sha2]
version = "0.11.1"