-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
83 lines (76 loc) · 2.13 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
[workspace]
members = ["crates/*"]
resolver = "2"
[workspace.package]
repository = "https://github.com/pindakaashq/pindakaas"
version = "0.1.0"
authors = [
"Jip J. Dekker <[email protected]>",
"Hendrik 'Henk' Bierlee <[email protected]>",
]
edition = "2021"
license = "MPL-2.0"
homepage = "https://github.com/pindakaashq/pindakaas"
categories = ["algorithms", "mathematics", "science"]
keywords = ["satisfiability", "encoding", "boolean", "logic", "cnf", "sat"]
[workspace.dependencies]
cc = { version = "1.0", features = ["parallel"] }
quote = "1.0"
syn = { version = "2.0" }
tracing = "0.1.40"
[workspace.lints.rust]
missing_debug_implementations = "warn"
# missing_docs = "warn"
non_ascii_idents = "deny"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unit_bindings = "warn"
# unnameable_types = "warn"
unreachable_pub = "warn"
unused_crate_dependencies = "deny"
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"
# cargo_common_metadata = "warn"
clone_on_ref_ptr = "warn"
default_union_representation = "deny"
# missing_docs_in_private_items = "warn"
mixed_read_write_in_expression = "deny"
multiple_crate_versions = "warn"
negative_feature_names = "deny"
rc_buffer = "warn"
rc_mutex = "warn"
redundant_feature_names = "warn"
redundant_type_annotations = "warn"
rest_pat_in_fully_bound_structs = "warn"
# same_name_method = "warn"
semicolon_if_nothing_returned = "warn"
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"
[profile.bench]
inherits = "release"
debug = true
strip = "none"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
[profile.release]
lto = "fat"
codegen-units = 1
strip = "symbols"