pdf_oxide 0.3.9

The fastest Rust PDF library with text extraction: 0.8ms mean, 100% pass rate on 3,830 PDFs. 5× faster than pdf_extract, 17× faster than oxidize_pdf. Extract, create, and edit PDFs.
Documentation
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
  rev: v6.0.0
  hooks:
  - id: check-toml
    name: check toml files
  - id: check-yaml
    name: check yaml files

# https://docs.rs/cargo-deny/latest/cargo_deny/#pre-commit-hook
- repo: https://github.com/EmbarkStudios/cargo-deny
  rev: 0.19.0 # choose your preferred tag
  hooks:
    - id: cargo-deny
      args: ["check"]

- repo: local
  hooks:
    # rust codes
    - id: cargo-fmt
      name: cargo fmt
      entry: cargo fmt --all -- --check
      language: system
      pass_filenames: false
      types: [rust]
      
    - id: cargo-check
      name: cargo check
      entry: cargo check
      language: system
      pass_filenames: false
      types: [rust]
      
    - id: cargo-clippy
      name: cargo clippy
      entry: cargo clippy -- -D warnings
      language: system
      pass_filenames: false
      types: [rust]

    - id: cargo-clippy-python
      name: cargo clippy python
      entry: cargo --features python -- -D warnings
      language: system
      pass_filenames: false
      types: [rust]

    - id: ty-check
      name: ty type check (if .venv exists)
      entry: python hooks/ty-check.py
      language: python
      pass_filenames: false
      types: [python]
      additional_dependencies: []


- repo: https://github.com/astral-sh/ruff-pre-commit
  rev: v0.14.13
  hooks:
  - id: ruff-check
    args: [--fix]
  # Run the formatter.
  - id: ruff-format