Skip to content

Commit

Permalink
chore(compliance): explicit publishability (near#5764)
Browse files Browse the repository at this point in the history
Tracking issue: near#5763

All packages must have explicit "publishability" by specifying `publish = <true/false>` but must never be omitted to avoid discrepancies.

Resolves:

```console
(i) These packages should have the `publish` specification: [expected: publish = <true/false>]
 • near-chain-configs v0.0.0 (core/chain-configs/Cargo.toml)
 • near-crypto v0.0.0 (core/crypto/Cargo.toml)
 • near-account-id v0.0.0 (core/account-id/Cargo.toml)
 • near-primitives v0.0.0 (core/primitives/Cargo.toml)
 • near-primitives-core v0.0.0 (core/primitives-core/Cargo.toml)
 • near-rpc-error-macro v0.0.0 (tools/rpctypegen/macro/Cargo.toml)
 • near-rpc-error-core v0.0.0 (tools/rpctypegen/core/Cargo.toml)
 • near-vm-errors v0.0.0 (runtime/near-vm-errors/Cargo.toml)
 • near-metrics v0.0.0 (core/metrics/Cargo.toml)
 • near-vm-logic v0.0.0 (runtime/near-vm-logic/Cargo.toml)
 • near-chain-primitives v0.0.0 (chain/chain-primitives/Cargo.toml)
 • near-chunks-primitives v0.0.0 (chain/chunks-primitives/Cargo.toml)
 • near-network-primitives v0.0.0 (chain/network-primitives/Cargo.toml)
 • near-client-primitives v0.0.0 (chain/client-primitives/Cargo.toml)
 • near-jsonrpc-primitives v0.0.0 (chain/jsonrpc-primitives/Cargo.toml)
```
  • Loading branch information
miraclx authored Dec 15, 2021
1 parent b113644 commit bb6f534
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions chain/chain-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-chain-primitives"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions chain/chunks-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-chunks-primitives"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions chain/client-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-client-primitives"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions chain/jsonrpc-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-jsonrpc-primitives"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions chain/network-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-network-primitives"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions core/account-id/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-account-id"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions core/chain-configs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-chain-configs"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions core/crypto/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "near-crypto"
version = "0.0.0"
license = "MIT OR Apache-2.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions core/metrics/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name = "near-metrics"
version = "0.0.0"
license = "MIT OR Apache-2.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions core/primitives-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-primitives-core"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions core/primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-primitives"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions runtime/near-vm-errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-vm-errors"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions runtime/near-vm-logic/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-vm-logic"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions tools/rpctypegen/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-rpc-error-core"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down
1 change: 1 addition & 0 deletions tools/rpctypegen/macro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "near-rpc-error-macro"
version = "0.0.0"
authors = ["Near Inc <[email protected]>"]
publish = true
# Please update rust-toolchain.toml as well when changing version here:
rust-version = "1.56.0"
edition = "2021"
Expand Down

0 comments on commit bb6f534

Please sign in to comment.