[package]
edition = "2021"
rust-version = "1.87.0"
name = "libdd-trace-obfuscation"
version = "4.0.0"
authors = ["Datadog Inc. <info@datadoghq.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A duplicate of trace obfuscator implemented in the agent and documented in https://docs.datadoghq.com/tracing/configure_data_security/?tab=net#trace-obfuscation"
homepage = "https://github.com/DataDog/libdatadog/tree/main/libdd-trace-obfuscation"
readme = "README.md"
keywords = [
"datadog",
"trace",
"obfuscation",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/DataDog/libdatadog/tree/main/libdd-trace-obfuscation"
[features]
default = ["https"]
fips = [
"libdd-common/fips",
"libdd-trace-utils/fips",
]
https = [
"libdd-common/https",
"libdd-trace-utils/https",
]
regex-lite = ["libdd-common/regex-lite"]
[lib]
name = "libdd_trace_obfuscation"
path = "src/lib.rs"
bench = false
[[test]]
name = "test_span_obfuscation"
path = "tests/test_span_obfuscation.rs"
[[bench]]
name = "trace_obfuscation"
path = "benches/trace_obfuscation.rs"
harness = false
[dependencies.anyhow]
version = "1.0"
[dependencies.fluent-uri]
version = "0.4.1"
[dependencies.libdd-common]
version = "4.2.0"
default-features = false
[dependencies.libdd-trace-protobuf]
version = "3.0.2"
[dependencies.libdd-trace-utils]
version = "8.0.0"
default-features = false
[dependencies.log]
version = "0.4"
[dependencies.percent-encoding]
version = "2.1"
[dependencies.serde]
version = "1.0.145"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = ["preserve_order"]
[dev-dependencies.criterion]
version = "0.5"
features = ["csv_output"]
[dev-dependencies.duplicate]
version = "0.4.1"
[lints.clippy]
blanket_clippy_restriction_lints = "allow"
cargo_common_metadata = "allow"
cognitive_complexity = "allow"
expect_used = "warn"
multiple_crate_versions = "allow"
option_if_let_else = "allow"
panic = "warn"
panic_in_result_fn = "warn"
redundant_else = "allow"
redundant_feature_names = "allow"
todo = "warn"
unimplemented = "warn"
unreachable = "warn"
unreadable_literal = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.nonstandard_style]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unused]
level = "warn"
priority = -1