Skip to content

Commit

Permalink
lint: fix OnlyPublishToCratesIo and PublishedPackagesDontDependOnUnpu…
Browse files Browse the repository at this point in the history
…blishedPackages (MystenLabs#4953)
  • Loading branch information
bmwill authored Oct 3, 2022
1 parent 393aa2a commit 69a29b4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
8 changes: 3 additions & 5 deletions crates/x/src/lint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@ pub fn run(args: Args) -> crate::Result<()> {
&CrateNamesPaths,
&IrrelevantBuildDeps,
// This one seems to be broken
//&UnpublishedPackagesOnlyUsePathDependencies::new(),
// TODO: re-enable after fixing the issue for Narwhal.
// &PublishedPackagesDontDependOnUnpublishedPackages,
// TODO: re-enable after fixing the issue for Narwhal.
// &OnlyPublishToCratesIo,
// &UnpublishedPackagesOnlyUsePathDependencies::new(),
&PublishedPackagesDontDependOnUnpublishedPackages,
&OnlyPublishToCratesIo,
&CratesInCratesDirectory,
// TODO: re-enable after moving Narwhal crates to crates/, or back to Narwhal repo.
// &CratesOnlyInCratesDirectory,
Expand Down
1 change: 1 addition & 0 deletions narwhal/config/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
license = "Apache-2.0"
authors = ["Mysten Labs <build@mystenlabs.com>"]
edition = "2021"
publish = false

[dependencies]
match_opt = "0.1.2"
Expand Down
1 change: 1 addition & 0 deletions narwhal/consensus/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
license = "Apache-2.0"
authors = ["Mysten Labs <build@mystenlabs.com>"]
edition = "2021"
publish = false

[dependencies]
arc-swap = { version = "1.5.1", features = ["serde"] }
Expand Down
1 change: 1 addition & 0 deletions narwhal/executor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
edition = "2021"
license = "Apache-2.0"
authors = ["Mysten Labs <build@mystenlabs.com>"]
publish = false

[dependencies]
async-trait = "0.1.57"
Expand Down
1 change: 1 addition & 0 deletions narwhal/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
license = "Apache-2.0"
authors = ["Mysten Labs <build@mystenlabs.com>"]
edition = "2021"
publish = false

[dependencies]
arc-swap = { version = "1.5.1", features = ["serde"] }
Expand Down
1 change: 1 addition & 0 deletions narwhal/worker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
license = "Apache-2.0"
authors = ["Mysten Labs <build@mystenlabs.com>"]
edition = "2021"
publish = false

[dependencies]
async-trait = "0.1.57"
Expand Down

0 comments on commit 69a29b4

Please sign in to comment.