Debian Codegraph @

debian/rust-vendor/portable-atomic-util/Cargo.toml

raw
1 [dependencies.portable-atomic]
2 default-features = false
3 features = ["require-cas"]
4 version = "1.5.1"
5
6 [dependencies.serde]
7 default-features = false
8 optional = true
9 version = "1.0.60"
10
11 [dev-dependencies.build-context]
12 version = "0.1"
13
14 [features]
15 alloc = []
16 default = []
17 std = ["alloc"]
18
19 [lib]
20 path = "src/lib.rs"
21
22 [lints.clippy]
23 all = "warn"
24 as_ptr_cast_mut = "warn"
25 as_underscore = "warn"
26 default_union_representation = "warn"
27 inline_asm_x86_att_syntax = "warn"
28 pedantic = "warn"
29 trailing_empty_array = "warn"
30 transmute_undefined_repr = "warn"
31 undocumented_unsafe_blocks = "warn"
32 unused_trait_names = "warn"
33
34 [lints.clippy.bool_assert_comparison]
35 level = "allow"
36 priority = 1
37
38 [lints.clippy.borrow_as_ptr]
39 level = "allow"
40 priority = 1
41
42 [lints.clippy.cast_lossless]
43 level = "allow"
44 priority = 1
45
46 [lints.clippy.collapsible_match]
47 level = "allow"
48 priority = 1
49
50 [lints.clippy.declare_interior_mutable_const]
51 level = "allow"
52 priority = 1
53
54 [lints.clippy.doc_markdown]
55 level = "allow"
56 priority = 1
57
58 [lints.clippy.float_cmp]
59 level = "allow"
60 priority = 1
61
62 [lints.clippy.incompatible_msrv]
63 level = "allow"
64 priority = 1
65
66 [lints.clippy.manual_assert]
67 level = "allow"
68 priority = 1
69
70 [lints.clippy.manual_range_contains]
71 level = "allow"
72 priority = 1
73
74 [lints.clippy.missing_errors_doc]
75 level = "allow"
76 priority = 1
77
78 [lints.clippy.module_name_repetitions]
79 level = "allow"
80 priority = 1
81
82 [lints.clippy.naive_bytecount]
83 level = "allow"
84 priority = 1
85
86 [lints.clippy.nonminimal_bool]
87 level = "allow"
88 priority = 1
89
90 [lints.clippy.range_plus_one]
91 level = "allow"
92 priority = 1
93
94 [lints.clippy.similar_names]
95 level = "allow"
96 priority = 1
97
98 [lints.clippy.single_match]
99 level = "allow"
100 priority = 1
101
102 [lints.clippy.single_match_else]
103 level = "allow"
104 priority = 1
105
106 [lints.clippy.struct_excessive_bools]
107 level = "allow"
108 priority = 1
109
110 [lints.clippy.struct_field_names]
111 level = "allow"
112 priority = 1
113
114 [lints.clippy.too_many_arguments]
115 level = "allow"
116 priority = 1
117
118 [lints.clippy.too_many_lines]
119 level = "allow"
120 priority = 1
121
122 [lints.clippy.type_complexity]
123 level = "allow"
124 priority = 1
125
126 [lints.rust]
127 deprecated_safe = "warn"
128 improper_ctypes = "warn"
129 improper_ctypes_definitions = "warn"
130 non_ascii_idents = "warn"
131 rust_2018_idioms = "warn"
132 single_use_lifetimes = "warn"
133 unnameable_types = "warn"
134 unreachable_pub = "warn"
135
136 [lints.rust.unexpected_cfgs]
137 check-cfg = ['cfg(target_os,values("trusty"))', "cfg(portable_atomic_unstable_coerce_unsized)"]
138 level = "warn"
139 priority = 0
140
141 [package]
142 autobenches = false
143 autobins = false
144 autoexamples = false
145 autolib = false
146 autotests = false
147 categories = ["concurrency", "data-structures", "embedded", "no-std"]
148 description = """
149 Synchronization primitives built with portable-atomic.
150 """
151 edition = "2018"
152 exclude = ["/.*", "/tools"]
153 keywords = ["atomic"]
154 license = "Apache-2.0 OR MIT"
155 name = "portable-atomic-util"
156 readme = "README.md"
157 repository = "https://github.com/taiki-e/portable-atomic-util"
158 rust-version = "1.34"
159 version = "0.2.7"
160
161 [package.metadata.cargo_check_external_types]
162 allowed_external_types = ["serde_core::*"]
163
164 [package.metadata.docs.rs]
165 all-features = true
166 targets = ["x86_64-unknown-linux-gnu"]
167
168 [profile.release]
169 debug = 2