-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
103 lines (91 loc) · 2.18 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
[package]
name = "unwind-context"
version = "0.2.2"
authors = ["Andrey Zheleznov <zheland.net@gmail.com>"]
edition = "2021"
rust-version = "1.70.0"
description = "Macro to add colored panic context to your functions"
documentation = "https://docs.rs/unwind-context"
readme = "README.md"
repository = "https://github.com/zheland/unwind-context"
license = "MIT OR Apache-2.0"
keywords = [
"panic",
"unwind",
"debug",
"no-std",
"color",
]
categories = [
"development-tools::debugging",
"rust-patterns",
"no-std",
"no-std::no-alloc",
]
[features]
default = [ "std" ]
std = []
detect-color-support = [ "dep:supports-color" ]
custom-default-colors = [ "dep:atomic_ref" ]
[dependencies.supports-color]
version = "3.0.0"
optional = true
[dependencies.atomic_ref]
version = "0.2.1"
optional = true
[dev-dependencies]
version-sync = "0.9.5"
[[example]]
name = "demo"
required-features = [ "std", "detect-color-support" ]
[badges.maintenance]
status = "passively-maintained"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust]
meta_variable_misuse = "warn"
missing_abi = "warn"
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
missing_docs = "warn"
non_ascii_idents = "warn"
pointer_structural_match = "warn"
single_use_lifetimes = "warn"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unused_crate_dependencies = "warn"
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.clippy]
alloc_instead_of_core = "warn"
allow_attributes_without_reason = "warn"
arithmetic_side_effects = "warn"
as_conversions = "warn"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
empty_structs_with_brackets = "warn"
error_impl_error = "warn"
exit = "warn"
get_unwrap = "warn"
panic = "warn"
print_stderr = "warn"
std_instead_of_core = "warn"
todo = "warn"
try_err = "warn"
unimplemented = "warn"
unwrap_used = "warn"
module_name_repetitions = "allow"