-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathCargo.toml
More file actions
98 lines (90 loc) · 2.04 KB
/
Copy pathCargo.toml
File metadata and controls
98 lines (90 loc) · 2.04 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
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
[workspace]
members = [
"bhtsne",
"blas-src",
"cephes",
"diff-exp",
"leiden",
"hclust",
"hdf5-io",
"scan-rs",
"snoop",
"sqz",
"tools",
"umap-rs",
]
resolver = "2"
[profile.dev]
opt-level = 3
[profile.release]
codegen-units = 1
debug = true
lto = true
opt-level = 3
[profile.test]
opt-level = 3
[workspace.lints.rust]
# Lint groups
future_incompatible = "deny"
nonstandard_style = "deny"
rust_2018_idioms = "deny"
unused = "deny"
warnings = "deny"
# Individual lints
unused_qualifications = "deny"
[workspace.lints.clippy]
complexity = "deny"
perf = "deny"
style = "deny"
suspicious = "deny"
comparison_chain = { level = "allow", priority = 1 }
# nursery
needless_collect = "deny"
or_fun_call = "deny"
# pedantic
borrow_as_ptr = "deny"
cloned_instead_of_copied = "deny"
enum_glob_use = "deny"
explicit_deref_methods = "deny"
explicit_into_iter_loop = "deny"
explicit_iter_loop = "deny"
filter_map_next = "deny"
flat_map_option = "deny"
from_iter_instead_of_collect = "deny"
ignored_unit_patterns = "deny"
implicit_clone = "deny"
inefficient_to_string = "deny"
manual_assert = "deny"
manual_instant_elapsed = "deny"
manual_is_variant_and = "deny"
manual_let_else = "deny"
manual_ok_or = "deny"
manual_string_new = "deny"
map_unwrap_or = "deny"
match_wildcard_for_single_variants = "deny"
mut_mut = "deny"
needless_bitwise_bool = "deny"
needless_continue = "deny"
needless_for_each = "deny"
needless_raw_string_hashes = "deny"
option_as_ref_cloned = "deny"
ptr_as_ptr = "deny"
ptr_cast_constness = "deny"
redundant_closure_for_method_calls = "deny"
redundant_else = "deny"
ref_as_ptr = "deny"
semicolon_if_nothing_returned = "deny"
single_char_pattern = "deny"
unchecked_time_subtraction = "deny"
unicode_not_nfc = "deny"
uninlined_format_args = "deny"
unnecessary_join = "deny"
unnecessary_wraps = "deny"
unnested_or_patterns = "deny"
unused_self = "deny"
used_underscore_binding = "deny"
wildcard_imports = "deny"
[workspace.dependencies]
itertools = ">=0.10"
rand = { version = "0.10", default-features = false }
rand_distr = "0.6"