-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
35 lines (29 loc) · 1.08 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
[package]
name = "slog-kvfilter"
version = "0.7.0"
authors = ["Dawid Ciężarkiewicz <[email protected]>", "Tony Przygienda <[email protected]>", "Tomáš Dvořák <https://github.com/dvtomas>"]
description = "Key values and Regex based filter Drain for slog-rs"
keywords = ["slog", "logging", "log", "filter"]
license = "MPL-2.0/MIT/Apache-2.0"
documentation = "https://docs.rs/slog-kvfilter"
homepage = "https://github.com/slog-rs/slog"
repository = "https://github.com/slog-rs/kvfilter"
readme = "README.md"
[features]
# serde_regex should be enabled iff serde is enabled.
# I don't know how to express this in Cargo.toml automatically, though.
default=["serde", "serde_regex"]
[dependencies]
serde = { version = "1", optional = true, features = ["derive"] }
serde_regex = { version = "0", optional = true }
regex = "1"
[dependencies.slog]
version = "2.7"
default-features = false
# So that the tests can reliably use debug and trace macros
features = ["max_level_trace", "release_max_level_trace", "std", "dynamic-keys"]
[dev-dependencies]
criterion = "0.2"
[[bench]]
name = "kvfilter_benchmark"
harness = false