-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
41 lines (36 loc) · 1.24 KB
/
Cargo.toml
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
[package]
name = "redact"
version = "0.1.10"
authors = ["Ethan Brierley <[email protected]>"]
license = "MIT/Apache-2.0"
readme = "README.md"
description = """
A simple library for keeping secrets out of logs.
"""
keywords = ["secret", "logging", "pii", "password", "no_std"]
documentation = "https://docs.rs/redact/"
repository = "https://github.com/eopb/redact"
edition = "2021"
rust-version = "1.65"
exclude = [".github"]
[features]
default = ["std"]
# impl std::error::Error for Secret<E> where E: Error
std = []
fake = ["dep:fake", "dep:rand"]
serde = ["dep:serde"]
zeroize = ["dep:zeroize"]
[dependencies]
fake = { version = "2.5", optional = true, default-features = false }
rand = { version = "0.8", optional = true, default-features = false }
serde = { version = "1.0", optional = true, default-features = false }
zeroize = { version = "1.7", optional = true, default-features = false }
[dev-dependencies]
redact = { features = ["serde", "fake", "zeroize"], path = "." }
fake = { version = "2.5", features = ["derive"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
zeroize = { version = "1.7", features = ["std"] }
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--generate-link-to-definition", "--cfg", "docsrs"]