forked from libbpf/libbpf-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
59 lines (56 loc) · 1.49 KB
/
Cargo.toml
File metadata and controls
59 lines (56 loc) · 1.49 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
[workspace.package]
version = "0.26.1"
edition = "2021"
rust-version = "1.82"
license = "LGPL-2.1-only OR BSD-2-Clause"
repository = "https://github.com/libbpf/libbpf-rs"
homepage = "https://github.com/libbpf/libbpf-rs"
[workspace]
members = [
"libbpf-cargo",
"libbpf-rs",
"libbpf-rs/dev",
"examples/bpf_query",
"examples/btf_query",
"examples/capable",
"examples/compiler_warnings",
"examples/netfilter_blocklist",
"examples/ringbuf_multi",
"examples/runqslower",
"examples/tc_port_whitelist",
"examples/tcp_ca",
"examples/tcp_option",
"examples/tproxy",
"examples/task_longrun",
]
resolver = "2"
[workspace.lints.rust]
deprecated-safe = "warn"
future-incompatible = "warn"
keyword-idents = "warn"
let-underscore = "warn"
missing-debug-implementations = "warn"
missing-docs = "warn"
trivial-numeric-casts = "warn"
unexpected_cfgs = {level = "warn", check-cfg = ['cfg(has_procmap_query_ioctl)', 'cfg(has_large_test_files)']}
unsafe-op-in-unsafe-fn = "warn"
unused = "warn"
[workspace.lints.clippy]
collapsible-else-if = "allow"
collapsible-if = "allow"
fn-to-numeric-cast = "allow"
let-and-return = "allow"
let-unit-value = "allow"
module-inception = "allow"
type-complexity = "allow"
absolute-paths = "warn"
clone-on-ref-ptr = "warn"
dbg-macro = "warn"
doc-markdown = "warn"
join-absolute-paths = "warn"
large-enum-variant = "warn"
redundant-closure-for-method-calls = "warn"
unchecked-time-subtraction = "warn"
uninlined-format-args = "warn"
use-self = "warn"
wildcard-imports = "warn"