-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
63 lines (54 loc) · 1.82 KB
/
Cargo.toml
File metadata and controls
63 lines (54 loc) · 1.82 KB
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
[workspace]
resolver = "2"
members = ["mssql-tds", "mssql-js", "mssql-tds-cli", "mssql-mock-tds"]
exclude = ["mssql-py-core", "mssql-mock-tds-py"]
[workspace.lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)', 'cfg(feature, values("sspi", "gssapi", "integrated-auth"))'] }
[workspace.lints.clippy]
# Don't Panic - prevent panics from unwraps and unsafe slicing or indexing
# string_slice = "warn"
# indexing_slicing = "warn"
# unwrap_used = "warn"
# panic = "warn"
# todo = "warn"
# unimplemented = "warn"
# unreachable = "warn"
# get_unwrap = "warn"
# unwrap_in_result = "warn"
# unchecked_time_subtraction = "warn"
# panic_in_result_fn = "warn"
# Don't Fail Silently - prevent dropped futures and swallowed errors
# let_underscore_future = "warn"
# let_underscore_must_use = "warn"
# unused_result_ok = "warn"
# map_err_ignore = "warn"
# assertions_on_result_states = "warn"
# Don't Do Bad Async Stuff - prevent deadlocks and concurrency bugs
await_holding_lock = "warn"
await_holding_refcell_ref = "warn"
large_futures = "warn"
# Don't Do Unsafe Things with Memory
# mem_forget = "warn"
# undocumented_unsafe_blocks = "warn"
# multiple_unsafe_ops_per_block = "warn"
# unnecessary_safety_doc = "warn"
# unnecessary_safety_comment = "warn"
# Don't Do Potentially Incorrect Things with Numbers
# float_cmp = "warn"
# float_cmp_const = "warn"
# lossy_float_literal = "warn"
# cast_sign_loss = "warn"
# invalid_upcast_comparisons = "warn"
# Don't Do Bad Things That are Easy to Avoid
# rc_mutex = "warn"
# debug_assert_with_mut_call = "warn"
# iter_not_returning_iterator = "warn"
# expl_impl_clone_on_copy = "warn"
# infallible_try_from = "warn"
# dbg_macro = "warn"
# Don't `allow` Your Way Around These Lints
# allow_attributes = "warn"
# allow_attributes_without_reason = "warn"
[profile.release]
lto = true
strip = "symbols"