# 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" name = "redact-engine" version = "0.1.2" authors = ["Elad Kaplan "] description = "Protect confidentiality with dynamic redaction by replacing sensitive data from string or JSON format" homepage = "https://github.com/rusty-ferris-club/redact-engine" documentation = "https://docs.rs/redact-engine/latest/redact-engine" readme = "README.md" keywords = [ "redact", "sensitive-data", ] license = "Apache-2.0" repository = "https://github.com/rusty-ferris-club/redact-engine" resolver = "1" [lib] name = "redact_engine" [[example]] name = "redaction_json_by_keys" path = "examples/redaction_json_by_keys.rs" required-features = ["redact-json"] [[example]] name = "redaction_json_by_path" path = "examples/redaction_json_by_path.rs" required-features = ["redact-json"] [[example]] name = "redaction_json" path = "examples/redaction_json.rs" required-features = ["redact-json"] [[example]] name = "redaction_json_value" path = "examples/redaction_json_value.rs" required-features = ["redact-json"] [[example]] name = "redaction_string_with_info" path = "examples/redaction_string_with_info.rs" required-features = ["redact-info"] [[bench]] name = "redact_str" harness = false required-features = ["redact-info"] [[bench]] name = "redact_json" harness = false required-features = ["redact-json"] [dependencies.anyhow] version = "1.0.65" [dependencies.bytecount] version = "0.6.3" optional = true [dependencies.rayon] version = "1.5.3" [dependencies.regex] version = "1.6.0" [dependencies.serde] version = "1" [dependencies.serde_derive] version = "1" [dependencies.serde_json] version = "1.0.85" optional = true [dependencies.serde_regex] version = "1.1.0" [dev-dependencies.criterion] version = "0.4.0" features = ["html_reports"] [dev-dependencies.insta] version = "1.21.0" [dev-dependencies.rand] version = "0.8.5" [features] all = [ "redact-json", "redact-info", ] default = [] redact-info = ["dep:bytecount"] redact-json = ["dep:serde_json"]