File tree 2 files changed +46
-0
lines changed
2 files changed +46
-0
lines changed Original file line number Diff line number Diff line change 2
2
name = " clippy_utils"
3
3
version = " 0.1.84"
4
4
edition = " 2021"
5
+ description = " Helpful tools for writing lints, provided as they are used in Clippy"
6
+ repository = " https://github.com/rust-lang/rust-clippy"
7
+ readme = " README.md"
8
+ license = " MIT OR Apache-2.0"
9
+ keywords = [" clippy" , " lint" , " utils" ]
10
+ categories = [" development-tools" ]
5
11
6
12
[dependencies ]
7
13
arrayvec = { version = " 0.7" , default-features = false }
Original file line number Diff line number Diff line change
1
+ # ` clippy-utils `
2
+
3
+ Helpful tools for writing lints, provided as they are used in Clippy.
4
+
5
+ ## Usage
6
+
7
+ This crate is only guaranteed to build with this ` nightly ` toolchain:
8
+
9
+ <!-- begin autogenerated nightly -->
10
+ ```
11
+ nightly-2024-11-14
12
+ ```
13
+ <!-- end autogenerated nightly -->
14
+
15
+ To use ` clippy-utils ` in your lint, add the following to your ` Cargo.toml ` :
16
+
17
+ ```
18
+ clippy_utils = "0.1.XY"
19
+ ```
20
+
21
+ ` XY ` is the version of the nightly toolchain above and can be determined with ` rustc +nightly-YYYY-MM-DD -V ` .
22
+
23
+ ## :warning : Stability :warning :
24
+
25
+ No stability guarantees are made for this crate! Use at your own risk.
26
+
27
+ Function signatures can change or be removed without replacement without any prior notice.
28
+
29
+ ## LICENSE
30
+
31
+ <!-- REUSE-IgnoreStart -->
32
+
33
+ Copyright 2014-2024 The Rust Project Developers
34
+
35
+ Licensed under the Apache License, Version 2.0
36
+ <[ https://www.apache.org/licenses/LICENSE-2.0 ] ( https://www.apache.org/licenses/LICENSE-2.0 ) > or the MIT license
37
+ <[ https://opensource.org/licenses/MIT ] ( https://opensource.org/licenses/MIT ) >, at your option. Files in the project may
38
+ not be copied, modified, or distributed except according to those terms.
39
+
40
+ <!-- REUSE-IgnoreEnd -->
You can’t perform that action at this time.
0 commit comments