-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (42 loc) · 1.33 KB
/
Copy pathCargo.toml
File metadata and controls
48 lines (42 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "safe-debug"
version = "0.1.1"
edition = "2024"
rust-version = "1.90.0"
authors = ["C J Silverio <ceejceej@gmail.com>"]
description = "Derives std::fmt::Debug with automatic redaction for sensitive fields marked with #[facet(sensitive)]"
license = "MIT OR Apache-2.0"
repository = "https://github.com/ceejbot/safe-debug"
homepage = "https://github.com/ceejbot/safe-debug"
documentation = "https://docs.rs/safe-debug"
keywords = ["debug", "redaction", "sensitive", "hipaa", "facet"]
categories = ["development-tools", "encoding"]
exclude = [
".github/",
"docs/",
"*.md",
"!README.md",
"!CHANGELOG.md",
]
[lib]
proc-macro = true
[dependencies]
quote = "1.0"
facet-macros-parse = "0.31"
[dev-dependencies]
facet = { version = "0.44", features = ["reflect"] }
insta = "1"
trybuild = { version = "1", features = ["diff"] }
[[example]]
name = "enum_example"
path = "examples/enum_example.rs"
[workspace.lints.rust]
unsafe_code = { level = "deny", priority = 0 }
future_incompatible = { level = "deny", priority = 1 }
rust_2018_idioms = { level = "warn", priority = 2 }
trivial_casts = { level = "warn", priority = 3 }
trivial_numeric_casts = { level = "warn", priority = 4 }
unused_lifetimes = { level = "warn", priority = 5 }
unused_qualifications = { level = "warn", priority = 6 }
[workspace.lints.clippy]
unwrap_used = "deny"