-
Notifications
You must be signed in to change notification settings - Fork 1
/
Cargo.toml
111 lines (102 loc) · 2.72 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
cargo-features = ["workspace-inheritance"]
[workspace]
resolver = "2"
members = ["examples", "trace4rs", "trace4rs-config", "trace4rs-fmtorp"]
[workspace.package]
version = "0.5.1"
authors = [
"Evan Simmons <[email protected]>",
"Everett Pompeii <[email protected]>",
"Richard Meester <[email protected]>",
]
edition = "2021"
license = "MIT"
keywords = ["tracing", "logging", "log4rs"]
repository = "https://github.com/imperva/trace4rs"
readme = "readme.md"
categories = ["development-tools"]
[workspace.dependencies]
trace4rs = { version = "*", path = "trace4rs" }
trace4rs-config = { version = "*", path = "trace4rs-config" }
trace4rs-fmtorp = { version = "*", path = "trace4rs-fmtorp" }
time = { version = "0.3", features = ["formatting", "macros"] }
tokio = { version = "1.13.0", features = [
"rt",
"rt-multi-thread",
"macros",
"time",
"fs",
] }
tracing-subscriber = { version = "0.3", features = [
"std",
"fmt",
"time",
"local-time",
"registry",
] }
camino = "1.1.2"
criterion = "0.5.0"
criterion-macro = "0.4.0"
literally = "0.1.3"
log = "0.4.14"
log4rs = "1.0.0"
once_cell = "1.8.0"
parking_lot = "0.12.0"
path-absolutize = "3.0.11"
regex = "1.5.4"
serde = "1.0.130"
serde_json = "1.0.68"
tempfile = "3.2.0"
thiserror = "1.0.29"
tracing = "0.1.0"
tracing-log = "0.2"
utc-offset = "0.4.0"
[workspace.lints.clippy]
all = "warn"
pedantic = "warn"
cargo = "warn"
module_name_repetitions = { priority = 1, level = "allow" }
assertions_on_result_states = "warn"
arithmetic_side_effects = "warn"
create_dir = "warn"
deref_by_slicing = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
filetype_is_file = "warn"
format_push_string = "warn"
indexing_slicing = "warn"
lossy_float_literal = "warn"
mem_forget = "warn" # Use ManuallyDrop
missing_assert_message = "warn"
missing_asserts_for_indexing = "warn"
multiple_inherent_impl = "warn"
mutex_atomic = "warn"
needless_raw_strings = "warn"
panic_in_result_fn = "warn"
partial_pub_fields = "warn"
pub_without_shorthand = "warn"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_type_annotations = "warn"
self_named_module_files = "warn"
semicolon_outside_block = "warn"
shadow_unrelated = "warn"
string_lit_chars_any = "warn"
string_slice = "warn"
tests_outside_test_module = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_self_imports = "warn"
unneeded_field_pattern = "warn"
unseparated_literal_suffix = "warn"
unwrap_in_result = "warn"
unwrap_used = "warn"
verbose_file_reads = "warn"
[profile.dev]
opt-level = 1
[profile.dev.package."*"]
opt-level = 3
# Enable when stabilized
# allow_attributes = "warn"
# allow_attributes_without_reason = "warn"
# Unsure of
# absolute_paths = "warn"