# 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 = "2021" rust-version = "1.80.0" name = "redacter" version = "0.11.0" authors = ["Abdulla Abdurakhmanov "] build = false include = [ "Cargo.toml", "src/**/*.rs", "README.md", "LICENSE", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Copy & Redact cli tool to securely copy and redact files removing Personal Identifiable Information (PII) across various filesystems." homepage = "https://github.com/abdolence/redacter-rs" documentation = "https://docs.rs/redacter" readme = "README.md" keywords = [ "redact", "pii", "dlp", ] categories = ["command-line-utilities"] license = "Apache-2.0" repository = "https://github.com/abdolence/redacter-rs" [[bin]] name = "redacter" path = "src/main.rs" [dependencies.anyhow] version = "1" [dependencies.arboard] version = "3" features = ["image"] optional = true [dependencies.async-recursion] version = "1" [dependencies.async-trait] version = "0.1" [dependencies.aws-config] version = "1" features = ["behavior-version-latest"] [dependencies.aws-sdk-comprehend] version = "1" [dependencies.aws-sdk-s3] version = "1" [dependencies.base64] version = "0.22" [dependencies.bytes] version = "1" [dependencies.chrono] version = "0.4" features = ["serde"] [dependencies.clap] version = "4.1" features = ["derive"] [dependencies.console] version = "0.15" [dependencies.csv-async] version = "1" features = [ "tokio", "tokio-stream", ] default-features = false [dependencies.dirs] version = "5.0.1" [dependencies.futures] version = "0.3" [dependencies.gcloud-sdk] version = "0.25.5" features = [ "google-privacy-dlp-v2", "google-rest-storage-v1", "google-ai-generativelanguage-v1beta", "google-cloud-aiplatform-v1beta1", ] [dependencies.globset] version = "0.4" [dependencies.hex] version = "0.4" [dependencies.image] version = "0.25" [dependencies.indicatif] version = "0.17" [dependencies.mime] version = "0.3" [dependencies.mime_guess] version = "2" [dependencies.ocrs] version = "0.8" optional = true [dependencies.pdfium-render] version = "0.8" features = [ "thread_safe", "image", ] optional = true [dependencies.rand] version = "0.8" [dependencies.reqwest] version = "0.12" features = [ "multipart", "rustls-tls", ] default-features = false [dependencies.rsb_derive] version = "0.5" [dependencies.rten] version = "0.10" optional = true [dependencies.rten-imageproc] version = "0.10" optional = true [dependencies.rvstruct] version = "0.3" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1" [dependencies.sha2] version = "0.10" [dependencies.sync_wrapper] version = "1" features = ["futures"] [dependencies.tempfile] version = "3" [dependencies.thiserror] version = "1" [dependencies.tokio] version = "1.14" features = [ "fs", "rt-multi-thread", "sync", "rt", "macros", ] [dependencies.tokio-util] version = "0.7" features = ["compat"] [dependencies.tracing] version = "0.1" [dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [dependencies.url] version = "2" [dependencies.zip] version = "2" [dev-dependencies.cargo-husky] version = "1.5" features = [ "run-for-all", "prepush-hook", "run-cargo-fmt", ] default-features = false [features] ci = [ "ci-gcp", "ci-aws", "ci-ms-presidio", "ci-gcp-llm", "ci-open-ai", "ci-clibpoard", ] ci-aws = [] ci-clibpoard = [] ci-gcp = [] ci-gcp-llm = [] ci-gcp-vertex-ai = [] ci-ms-presidio = [] ci-ocr = [] ci-open-ai = [] clipboard = ["arboard"] default = [ "pdf-render", "clipboard", "ocr", ] ocr = [ "ocrs", "rten", "rten-imageproc", ] pdf-render = ["pdfium-render"]