-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
62 lines (50 loc) · 1.34 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
[package]
edition = "2021"
name = "nom-tracer"
version = "1.0.1"
authors = ["Xavier Basty <[email protected]>"]
repository = "https://github.com/hexbee-net/nom-tracer"
keywords = ["parser", "nom", "trace", "debug"]
categories = ["parsing"]
readme = "README.md"
description = "Extension of nom to trace parser execution"
license-file = "LICENSE"
publish = true
[dependencies]
nom = "7.1.3"
[features]
default = ["trace", "trace-context", "trace-color", "trace-print", "trace-max-level", "trace-silencing"]
trace = []
trace-context = []
trace-color = ["trace"]
trace-print = ["trace"]
trace-max-level = ["trace"]
trace-silencing = ["trace"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints.clippy]
unwrap_or_default = "allow"
[[example]]
name = "simple_parser"
path = "examples/simple_parser.rs"
[[example]]
name = "activate_deactivate_trace"
path = "examples/activate_deactivate_trace.rs"
[[example]]
name = "custom_tags"
path = "examples/custom_tags.rs"
[[example]]
name = "nested_parsers"
path = "examples/nested_parsers.rs"
[[example]]
name = "error_handling"
path = "examples/error_handling.rs"
[[example]]
name = "silence_tree"
path = "examples/silence_tree.rs"
required-features = ["trace-silencing"]
[[example]]
name = "max_level_trace"
path = "examples/max_level_trace.rs"
required-features = ["trace-max-level"]