X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=rustc_tools_util%2FREADME.md;h=e947f9c7e66ed29d7fdc0cf9e4fbc5828994fca5;hb=2d32b403596d6ff152ccce3f1136b695698a3cc8;hp=18341ca2f280ea48522d805cdae0125bbafb4638;hpb=cf81a3b6d01cdacae0a391c9cfbd17b3ce801d78;p=rust.git diff --git a/rustc_tools_util/README.md b/rustc_tools_util/README.md index 18341ca2f28..e947f9c7e66 100644 --- a/rustc_tools_util/README.md +++ b/rustc_tools_util/README.md @@ -6,17 +6,17 @@ for packages installed from a git repo ## Usage Add a `build.rs` file to your repo and list it in `Cargo.toml` -```` +````toml build = "build.rs" ```` List rustc_tools_util as regular AND build dependency. -```` +````toml [dependencies] -rustc_tools_util = "0.1" +rustc_tools_util = "0.2.1" [build-dependencies] -rustc_tools_util = "0.1" +rustc_tools_util = "0.2.1" ```` In `build.rs`, generate the data in your `main()` @@ -53,7 +53,7 @@ This gives the following output in clippy: ## License -Copyright 2014-2019 The Rust Project Developers +Copyright 2014-2022 The Rust Project Developers Licensed under the Apache License, Version 2.0 or the MIT license