summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: dd788c47acf1f23bcbb54ff1d939c3999c8a6797 (plain) (blame)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
[workspace]
members  = ["client", "core", "server"]
resolver = "2"

[workspace.package]
version    = "3.0.0"
authors    = ["Gabriel Bjørnager Jensen"]
homepage   = "https://achernar.dk/index.php?p=bowshock"
repository = "https://mandelbrot.dk/bowshock/"

[workspace.lints.clippy]
as_ptr_cast_mut                    = "forbid"
as_underscore                      = "warn"
assertions_on_result_states        = "warn"
bool_to_int_with_if                = "warn"
borrow_as_ptr                      = "forbid"
branches_sharing_code              = "warn"
cast_lossless                      = "warn"
cast_ptr_alignment                 = "forbid"
checked_conversions                = "warn"
clear_with_drain                   = "warn"
cloned_instead_of_copied           = "warn"
collection_is_never_read           = "warn"
dbg_macro                          = "warn"
debug_assert_with_mut_call         = "warn"
deref_by_slicing                   = "warn"
derive_partial_eq_without_eq       = "deny"
empty_enum                         = "warn"
empty_enum_variants_with_brackets  = "warn"
empty_line_after_doc_comments      = "warn"
empty_line_after_outer_attr        = "warn"
empty_structs_with_brackets        = "warn"
enum_variant_names                 = "allow"
equatable_if_let                   = "warn"
excessive_precision                = "allow"
exit                               = "warn"
expl_impl_clone_on_copy            = "warn"
explicit_deref_methods             = "warn"
explicit_into_iter_loop            = "warn"
explicit_iter_loop                 = "warn"
fallible_impl_from                 = "deny"
flat_map_option                    = "warn"
float_cmp                          = "deny" # Fortran, is that you?
float_cmp_const                    = "deny"
format_push_string                 = "warn"
from_iter_instead_of_collect       = "warn"
future_not_send                    = "deny"
if_not_else                        = "warn"
if_then_some_else_none             = "warn"
ignored_unit_patterns              = "warn"
impl_trait_in_params               = "warn"
implicit_clone                     = "warn"
imprecise_flops                    = "deny"
inconsistent_struct_constructor    = "deny"
index_refutable_slice              = "warn"
inefficient_to_string              = "warn"
infinite_loop                      = "deny"
into_iter_without_iter             = "deny"
invalid_upcast_comparisons         = "warn"
iter_filter_is_ok                  = "warn"
iter_filter_is_some                = "warn"
iter_not_returning_iterator        = "deny"
iter_on_empty_collections          = "warn"
iter_on_single_items               = "warn"
iter_with_drain                    = "warn"
iter_without_into_iter             = "deny"
macro_use_imports                  = "warn"
manual_assert                      = "warn"
manual_c_str_literals              = "warn"
manual_instant_elapsed             = "warn"
manual_is_variant_and              = "warn"
manual_let_else                    = "warn"
manual_ok_or                       = "warn"
manual_string_new                  = "warn"
map_unwrap_or                      = "warn"
match_bool                         = "warn"
match_on_vec_items                 = "warn"
match_same_arms                    = "warn"
mismatching_type_param_order       = "warn"
mixed_read_write_in_expression     = "deny"
must_use_candidate                 = "deny"
mut_mut                            = "deny"
mutex_atomic                       = "deny"
mutex_integer                      = "deny"
needless_bitwise_bool              = "deny"
needless_collect                   = "warn"
needless_continue                  = "warn"
needless_pass_by_ref_mut           = "warn"
needless_pass_by_value             = "deny"
needless_raw_string_hashes         = "warn"
needless_raw_strings               = "warn"
no_effect_underscore_binding       = "deny"
no_mangle_with_rust_abi            = "deny"
non_ascii_literal                  = "forbid"
nonstandard_macro_braces           = "warn"
option_as_ref_cloned               = "warn"
option_if_let_else                 = "warn"
option_option                      = "deny"
or_fun_call                        = "deny"
path_buf_push_overwrite            = "deny"
pattern_type_mismatch              = "deny"
ptr_as_ptr                         = "forbid"
ptr_cast_constness                 = "forbid"
pub_underscore_fields              = "deny"
pub_with_shorthand                 = "deny"
read_zero_byte_vec                 = "deny"
redundant_clone                    = "deny"
redundant_closure_for_method_calls = "warn"
redundant_else                     = "warn"
redundant_pub_crate                = "warn"
redundant_type_annotations         = "warn"
ref_as_ptr                         = "deny"
ref_binding_to_reference           = "warn"
ref_option_ref                     = "deny"
rest_pat_in_fully_bound_structs    = "warn"
return_self_not_must_use           = "deny"
same_functions_in_if_condition     = "deny"
same_name_method                   = "deny"
self_named_module_files            = "deny"
semicolon_outside_block            = "warn"
single_char_pattern                = "warn"
str_split_at_newline               = "warn"
string_lit_as_bytes                = "deny"
string_lit_chars_any               = "deny"
string_to_string                   = "deny"
suboptimal_flops                   = "deny"
trait_duplication_in_bounds        = "deny"
transmute_ptr_to_ptr               = "deny"
type_repetition_in_bounds          = "deny"
uninhabited_references             = "deny"
uninlined_format_args              = "deny"
unnecessary_box_returns            = "deny"
unnecessary_join                   = "deny"
unnecessary_self_imports           = "deny"
unneeded_field_pattern             = "warn"
unnested_or_patterns               = "warn"
unseparated_literal_suffix         = "warn"
unused_async                       = "warn"
unused_peekable                    = "warn"
unused_rounding                    = "warn"
use_self                           = "deny"
used_underscore_binding            = "deny"
useless_let_if_seq                 = "warn"
verbose_bit_mask                   = "warn"
verbose_file_reads                 = "warn"
wildcard_dependencies              = "deny"
zero_sized_map_values              = "deny"

[profile.release]
codegen-units = 1

lto       = "fat"
opt-level = 3