[dependencies.data_privacy_macros]
default-features = false
version = "0.9.0"
[dependencies.rapidhash]
default-features = false
optional = true
version = "4.1.1"
[dependencies.rustc-hash]
default-features = false
features = ["std"]
version = "2.1.0"
[dependencies.serde_core]
default-features = false
features = ["std"]
optional = true
version = "1.0.228"
[dependencies.xxhash-rust]
default-features = false
features = ["xxh3"]
optional = true
version = "0.8.15"
[dev-dependencies.derive_more]
default-features = false
features = ["constructor", "from"]
version = "2.0.1"
[dev-dependencies.mutants]
default-features = false
version = "0.0.3"
[dev-dependencies.once_cell]
default-features = false
features = ["std"]
version = "1.21.3"
[dev-dependencies.serde]
default-features = false
features = ["std", "derive"]
version = "1.0.228"
[dev-dependencies.serde_json]
default-features = false
features = ["std"]
version = "1.0.145"
[[example]]
name = "employees"
path = "examples/employees/main.rs"
[features]
default = ["serde"]
rapidhash = ["dep:rapidhash"]
serde = ["dep:serde_core"]
xxh3 = ["dep:xxhash-rust"]
[lib]
name = "data_privacy"
path = "src/lib.rs"
[lints.clippy]
allow_attributes = "warn"
allow_attributes_without_reason = "warn"
as_pointer_underscore = "warn"
assertions_on_result_states = "warn"
clone_on_ref_ptr = "warn"
deref_by_slicing = "warn"
disallowed_script_idents = "warn"
empty_drop = "warn"
empty_enum_variants_with_brackets = "warn"
empty_structs_with_brackets = "warn"
fn_to_numeric_cast_any = "warn"
if_then_some_else_none = "warn"
map_err_ignore = "warn"
missing_const_for_fn = "allow"
multiple_crate_versions = "allow"
multiple_unsafe_ops_per_block = "warn"
option_if_let_else = "allow"
panic = "warn"
redundant_pub_crate = "allow"
redundant_type_annotations = "warn"
renamed_function_params = "warn"
semicolon_outside_block = "warn"
should_panic_without_expect = "allow"
significant_drop_tightening = "allow"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unnecessary_safety_doc = "warn"
unneeded_field_pattern = "warn"
unused_result_ok = "warn"
unwrap_used = "warn"
wildcard_imports = "allow"
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.complexity]
level = "warn"
priority = -1
[lints.clippy.correctness]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy.perf]
level = "warn"
priority = -1
[lints.clippy.style]
level = "warn"
priority = -1
[lints.clippy.suspicious]
level = "warn"
priority = -1
[lints.rust]
ambiguous_negative_literals = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
redundant_imports = "warn"
redundant_lifetimes = "warn"
trivial_numeric_casts = "warn"
unsafe_op_in_unsafe_fn = "warn"
unused_lifetimes = "warn"
[lints.rust.unexpected_cfgs]
check-cfg = ["cfg(coverage,coverage_nightly)", "cfg(docsrs)"]
level = "warn"
priority = 0
[package]
authors = ["The Oxidizer Project Authors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["data-structures"]
description = "Data annotation and redaction system providing a robust way to manipulate sensitive information."
edition = "2024"
homepage = "https://github.com/microsoft/oxidizer"
keywords = ["oxidizer", "compliance", "privacy", "redaction", "scrubbing"]
license = "MIT"
name = "data_privacy"
readme = "README.md"
repository = "https://github.com/microsoft/oxidizer"
rust-version = "1.88"
version = "0.10.0"
[package.metadata.cargo_check_external_types]
allowed_external_types = ["serde_core::de::*", "serde_core::ser::*", "data_privacy_macros::*", "rapidhash::v3::seed::RapidSecrets"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[test]]
name = "classified"
path = "tests/classified.rs"
[[test]]
name = "data_class"
path = "tests/data_class.rs"
[[test]]
name = "macros"
path = "tests/macros.rs"
[[test]]
name = "rapidhash_redactor"
path = "tests/rapidhash_redactor.rs"
[[test]]
name = "redaction_engine"
path = "tests/redaction_engine.rs"
[[test]]
name = "sensitive"
path = "tests/sensitive.rs"
[[test]]
name = "simple_redactor"
path = "tests/simple_redactor.rs"
[[test]]
name = "xxh3_redactor"
path = "tests/xxh3_redactor.rs"