Skip to content

Commit aada4c3

Browse files
committed
Prepare clippy_utils for publishing
- Add metadata to clippy_utils/Cargo.toml file - Add clippy_utils README.md file
1 parent 5c1811a commit aada4c3

File tree

2 files changed

+44
-0
lines changed

2 files changed

+44
-0
lines changed

clippy_utils/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
name = "clippy_utils"
33
version = "0.1.84"
44
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"]
511

612
[dependencies]
713
arrayvec = { version = "0.7", default-features = false }

clippy_utils/README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# `clippy-utils`
2+
3+
<!-- begin autogenerated nightly -->
4+
```
5+
nightly-2024-11-14
6+
```
7+
<!-- end autogenerated nightly -->
8+
9+
Helpful tools for writing lints, provided as they are used in Clippy.
10+
11+
## Usage
12+
13+
This crate is only guaranteed to build with the `nightly` toolchain above.
14+
15+
```
16+
clippy_utils = "0.1.XY"
17+
```
18+
19+
`XY` is the version of the nightly toolchain above and can be determined with `rustc +nightly-YYYY-MM-DD -V`.
20+
21+
## :warning: Stability :warning:
22+
23+
No stability guarantees are made for this crate! Use at your own risk.
24+
25+
Function signatures can change or be removed without replacement without any prior notice.
26+
27+
## LICENSE
28+
29+
<!-- REUSE-IgnoreStart -->
30+
31+
Copyright 2014-2024 The Rust Project Developers
32+
33+
Licensed under the Apache License, Version 2.0
34+
<[https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)> or the MIT license
35+
<[https://opensource.org/licenses/MIT](https://opensource.org/licenses/MIT)>, at your option. Files in the project may
36+
not be copied, modified, or distributed except according to those terms.
37+
38+
<!-- REUSE-IgnoreEnd -->

0 commit comments

Comments
 (0)