-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathCargo.toml
29 lines (24 loc) · 975 Bytes
/
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
[workspace]
resolver = "2"
members = [
"openh264-sys2",
"openh264"
]
[workspace.lints.clippy]
correctness = { level = "deny", priority = -1 }
suspicious = { level = "deny", priority = -1 }
complexity = { level = "deny", priority = -1 }
perf = { level = "deny", priority = -1 }
style = { level = "deny", priority = -1 }
pedantic = { level = "deny", priority = -1 }
nursery = { level = "deny", priority = -1 } # We might want to disable this if it causes issues.
# Things we still allow
doc_markdown = "allow" # trips up on "OpenH264"
cast_possible_truncation = "allow" # we're doing too much math for this
cast_possible_wrap = "allow" # we're doing too much math for this
cast_precision_loss = "allow" # we're doing too much math for this
cast_sign_loss = "allow" # we're doing too much math for this
unreadable_literal = "allow" # only really used in tests where it doesn't matter
module_name_repetitions = "allow" # looks nicer
#[profile.release]
#debug = true