-
Notifications
You must be signed in to change notification settings - Fork 452
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linter: Prepare the
ink_linting
crates for publishing (#2060)
* feat: Use custom `clippy_utils` We need this in order to publish `ink_linting` crates on crates.io, because all the dependencies must be published as well. * feat(all): Use `parity-clippy-utils` This is necessary, because we need all the dependencies available on crates.io to publish our crates. * feat(cargo): Inherit common options from workspace' Cargo.toml * feat(utils): Add README and LICENSE * chore: `s/ink_utils/ink_linting_utils/g` To clarify the crate name when publishing on crates.io. * chore(cargo): Move the common dependency on workspace level * chore: Fix typo * chore(mandatory): Set explicit versions of the ink! deps Needed to use `cargo publish` * chore(mandatory): Change the crate description * chore(extra): Prepare `Cargo.toml` for publishing * chore: Add the changelog entry
- Loading branch information
Showing
14 changed files
with
128 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[package] | ||
name = "ink_linting_utils" | ||
version.workspace = true | ||
authors.workspace = true | ||
edition.workspace = true | ||
|
||
license.workspace = true | ||
readme = "README.md" | ||
repository.workspace = true | ||
documentation = "https://docs.rs/ink_linting_utils" | ||
homepage.workspace = true | ||
description = "Utilities used internally in ink_linting" | ||
keywords.workspace = true | ||
include = ["Cargo.toml", "*.rs", "LICENSE"] | ||
|
||
[dependencies] | ||
if_chain = "1.0.2" | ||
parity_clippy_utils = "0.1.73" | ||
|
||
[package.metadata.rust-analyzer] | ||
rustc_private = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# ink! linting utilities | ||
This crate implements various utility functions used in `ink_linting` crates. It also provides access to the specific version of the `clippy_utils` crate. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters