Cargo Features
[dependencies]
redacter = { version = "0.11.0", default-features = false, features = ["ci-gcp", "ci-aws", "ci-ms-presidio", "ci-gcp-llm", "ci-open-ai", "ci-clibpoard", "ci-ocr", "ci-gcp-vertex-ai", "ci", "pdf-render", "clipboard", "ocr"] }
- default = clipboard, ocr, pdf-render
-
These default features are set whenever
redacter
is added without
somewhere in the dependency tree.default-features = false - ci-gcp ci?
-
For testing on CI/GCP
- ci-aws ci?
-
For testing on CI/AWS
- ci-ms-presidio ci?
-
For testing on CI/MS Presidiom
- ci-gcp-llm ci?
-
For testing on CI/GCP with LLM models
- ci-open-ai ci?
-
For testing on CI/OpenAIP
- ci-clibpoard ci?
-
For testing on CI/Clipboard
- ci-ocr
-
For testing on CI/OCR
- ci-gcp-vertex-ai
-
For testing on CI/GCP with Vertex AI
- ci = ci-aws, ci-clibpoard, ci-gcp, ci-gcp-llm, ci-ms-presidio, ci-open-ai
- pdf-render default = pdfium-render
- clipboard default = arboard
- ocr default = ocrs, rten, rten-imageproc
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- pdfium-render pdf-render
- arboard clipboard
- ocrs ocr
-
Enables ocrs ^0.8
- rten ocr
-
Enables rten ^0.10
- rten-imageproc ocr
-
Enables rten-imageproc ^0.10