-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathCargo.toml
73 lines (68 loc) · 2.25 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
[workspace]
members = ["./pumpkin-solver", "./drcp-format", "./pumpkin-py", "./pumpkin-macros"]
resolver = "2"
[workspace.package]
repository = "https://github.com/consol-lab/pumpkin"
edition = "2021"
license = "MIT OR Apache-2.0"
authors = [
"Emir Demirović",
"Maarten Flippo",
"Imko Marijnissen",
"Konstantin Sidorov",
"Jeff Smits"
] # Ordered alphabetically based on last name!
[profile.release]
lto = true
panic = 'abort'
codegen-units = 1
[profile.rel-with-debug]
inherits = "release"
debug = true
[workspace.lints.rust]
missing_copy_implementations = "warn"
missing_debug_implementations = "warn"
# missing_docs = "warn" # temporarily off until all warnings are fixed
non_ascii_idents = "deny"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
# unnameable_types = "warn" # https://github.com/rust-lang/rust/issues/48054
unreachable_pub = "warn"
# unsafe_code = "forbid" # for now we'll play with unsafe
# unused_crate_dependencies = "deny" # https://github.com/rust-lang/rust/issues/57274#issuecomment-1430331803
unused_extern_crates = "warn"
unused_import_braces = "warn"
unused_lifetimes = "warn"
unused_macro_rules = "warn"
unused_qualifications = "warn"
unused_results = "warn"
variant_size_differences = "warn"
[workspace.lints.clippy]
# allow_attributes_without_reason = "deny" # Lint reasons are experimental :(
# cargo_common_metadata = "warn" # Temporarily off while crate is not published yet
clone_on_ref_ptr = "warn"
default_union_representation = "deny"
# missing_docs_in_private_items = "warn" # Temporarily off until all warnings are fixed
missing_enforced_import_renames = "warn"
mixed_read_write_in_expression = "deny"
multiple_crate_versions = "warn"
negative_feature_names = "deny"
rc_mutex = "warn"
redundant_feature_names = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
same_name_method = "warn"
self_named_module_files = "deny"
str_to_string = "warn"
string_add = "warn"
string_add_assign = "warn"
string_lit_chars_any = "warn"
string_to_string = "warn"
tests_outside_test_module = "warn"
try_err = "warn"
undocumented_unsafe_blocks = "warn"
unnecessary_safety_comment = "warn"
unseparated_literal_suffix = "warn"
unnecessary_safety_doc = "warn"
wildcard_dependencies = "warn"
wrong_self_convention = "warn"