From 40b7e74bcaba05e90300bf69d4b93d973c929d7f Mon Sep 17 00:00:00 2001 From: Miraculous Owonubi Date: Wed, 6 Oct 2021 10:47:21 +0100 Subject: [PATCH] chore: mark all but a few crates private (unpublishable) (#4909) --- chain/chain/Cargo.toml | 1 + chain/chunks/Cargo.toml | 1 + chain/client-primitives/Cargo.toml | 1 + chain/client/Cargo.toml | 1 + chain/epoch_manager/Cargo.toml | 1 + chain/indexer/Cargo.toml | 1 + chain/jsonrpc/Cargo.toml | 1 + chain/jsonrpc/client/Cargo.toml | 1 + chain/jsonrpc/test-utils/Cargo.toml | 1 + chain/network/Cargo.toml | 1 + chain/pool/Cargo.toml | 1 + chain/rosetta-rpc/Cargo.toml | 1 + chain/telemetry/Cargo.toml | 1 + core/store/Cargo.toml | 1 + genesis-tools/genesis-csv-to-json/Cargo.toml | 1 + genesis-tools/genesis-populate/Cargo.toml | 1 + genesis-tools/keypair-generator/Cargo.toml | 1 + integration-tests/Cargo.toml | 1 + nearcore/Cargo.toml | 1 + neard/Cargo.toml | 1 + pytest/empty-contract-rs/Cargo.toml | 1 + runtime/near-test-contracts/test-contract-rs/Cargo.toml | 1 + runtime/near-test-contracts/tiny-contract-rs/Cargo.toml | 1 + runtime/near-vm-logic/Cargo.toml | 1 + runtime/near-vm-runner-standalone/Cargo.toml | 1 + runtime/near-vm-runner/Cargo.toml | 1 + runtime/runtime-params-estimator/Cargo.toml | 1 + runtime/runtime-params-estimator/small-test-contract/Cargo.toml | 1 + runtime/runtime-params-estimator/test-contract/Cargo.toml | 1 + runtime/runtime/Cargo.toml | 1 + test-utils/actix-test-utils/Cargo.toml | 1 + test-utils/loadtester/Cargo.toml | 1 + test-utils/logger/Cargo.toml | 1 + test-utils/runtime-tester/Cargo.toml | 1 + test-utils/state-viewer/Cargo.toml | 1 + test-utils/store-validator/Cargo.toml | 1 + test-utils/testlib/Cargo.toml | 1 + tools/delay_detector/Cargo.toml | 1 + tools/indexer/example/Cargo.toml | 1 + tools/restaked/Cargo.toml | 1 + tools/restored-receipts-verifier/Cargo.toml | 1 + tools/storage-usage-delta-calculator/Cargo.toml | 1 + utils/near-performance-metrics-macros/Cargo.toml | 1 + utils/near-performance-metrics/Cargo.toml | 1 + utils/near-stable-hasher/Cargo.toml | 1 + 45 files changed, 45 insertions(+) diff --git a/chain/chain/Cargo.toml b/chain/chain/Cargo.toml index 7f5f84c01e6..14aa2f96d66 100644 --- a/chain/chain/Cargo.toml +++ b/chain/chain/Cargo.toml @@ -2,6 +2,7 @@ name = "near-chain" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/chunks/Cargo.toml b/chain/chunks/Cargo.toml index 4ae3aeed51f..74b1871e1dc 100644 --- a/chain/chunks/Cargo.toml +++ b/chain/chunks/Cargo.toml @@ -2,6 +2,7 @@ name = "near-chunks" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/client-primitives/Cargo.toml b/chain/client-primitives/Cargo.toml index 8dba947b769..1fffc7e2104 100644 --- a/chain/client-primitives/Cargo.toml +++ b/chain/client-primitives/Cargo.toml @@ -2,6 +2,7 @@ name = "near-client-primitives" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/chain/client/Cargo.toml b/chain/client/Cargo.toml index 54fd44bd056..4c66c2c8c06 100644 --- a/chain/client/Cargo.toml +++ b/chain/client/Cargo.toml @@ -2,6 +2,7 @@ name = "near-client" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/epoch_manager/Cargo.toml b/chain/epoch_manager/Cargo.toml index 0ab383fb427..43bb8c93ac0 100644 --- a/chain/epoch_manager/Cargo.toml +++ b/chain/epoch_manager/Cargo.toml @@ -2,6 +2,7 @@ name = "near-epoch-manager" version = "0.0.1" authors = ["Near Inc "] +publish = false edition = "2018" diff --git a/chain/indexer/Cargo.toml b/chain/indexer/Cargo.toml index 30042182af4..cd56abf1744 100644 --- a/chain/indexer/Cargo.toml +++ b/chain/indexer/Cargo.toml @@ -2,6 +2,7 @@ name = "near-indexer" version = "0.10.1" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/jsonrpc/Cargo.toml b/chain/jsonrpc/Cargo.toml index 0753bc0152f..cd2cfffa47b 100644 --- a/chain/jsonrpc/Cargo.toml +++ b/chain/jsonrpc/Cargo.toml @@ -2,6 +2,7 @@ name = "near-jsonrpc" version = "0.2.2" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/jsonrpc/client/Cargo.toml b/chain/jsonrpc/client/Cargo.toml index 4baa97e5522..f7bd53f60c7 100644 --- a/chain/jsonrpc/client/Cargo.toml +++ b/chain/jsonrpc/client/Cargo.toml @@ -2,6 +2,7 @@ name = "near-jsonrpc-client" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/jsonrpc/test-utils/Cargo.toml b/chain/jsonrpc/test-utils/Cargo.toml index c52257fe55e..a6f2dc56654 100644 --- a/chain/jsonrpc/test-utils/Cargo.toml +++ b/chain/jsonrpc/test-utils/Cargo.toml @@ -2,6 +2,7 @@ name = "near-jsonrpc-test-utils" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/network/Cargo.toml b/chain/network/Cargo.toml index 7026e280714..941ce28df53 100644 --- a/chain/network/Cargo.toml +++ b/chain/network/Cargo.toml @@ -2,6 +2,7 @@ name = "near-network" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/pool/Cargo.toml b/chain/pool/Cargo.toml index a83dc078e3b..f5a23339da6 100644 --- a/chain/pool/Cargo.toml +++ b/chain/pool/Cargo.toml @@ -3,6 +3,7 @@ name = "near-pool" version = "0.1.0" license = "MIT OR Apache-2.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/chain/rosetta-rpc/Cargo.toml b/chain/rosetta-rpc/Cargo.toml index 9d7242dd4b9..427d665f46e 100644 --- a/chain/rosetta-rpc/Cargo.toml +++ b/chain/rosetta-rpc/Cargo.toml @@ -2,6 +2,7 @@ name = "near-rosetta-rpc" version = "0.1.1" authors = ["Near Inc "] +publish = false edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/chain/telemetry/Cargo.toml b/chain/telemetry/Cargo.toml index bf2f5b234f1..de967183d82 100644 --- a/chain/telemetry/Cargo.toml +++ b/chain/telemetry/Cargo.toml @@ -2,6 +2,7 @@ name = "near-telemetry" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/core/store/Cargo.toml b/core/store/Cargo.toml index 57b3eb342c7..fcfe5ae1b8a 100644 --- a/core/store/Cargo.toml +++ b/core/store/Cargo.toml @@ -3,6 +3,7 @@ name = "near-store" version = "2.2.0" license = "MIT OR Apache-2.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/genesis-tools/genesis-csv-to-json/Cargo.toml b/genesis-tools/genesis-csv-to-json/Cargo.toml index b9da247bea3..7f6ef55d854 100644 --- a/genesis-tools/genesis-csv-to-json/Cargo.toml +++ b/genesis-tools/genesis-csv-to-json/Cargo.toml @@ -2,6 +2,7 @@ name = "genesis-csv-to-json" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/genesis-tools/genesis-populate/Cargo.toml b/genesis-tools/genesis-populate/Cargo.toml index 789808b0334..1664fb8f70a 100644 --- a/genesis-tools/genesis-populate/Cargo.toml +++ b/genesis-tools/genesis-populate/Cargo.toml @@ -2,6 +2,7 @@ name = "genesis-populate" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/genesis-tools/keypair-generator/Cargo.toml b/genesis-tools/keypair-generator/Cargo.toml index c648ec7a563..4f0dddc1a41 100644 --- a/genesis-tools/keypair-generator/Cargo.toml +++ b/genesis-tools/keypair-generator/Cargo.toml @@ -2,6 +2,7 @@ name = "keypair-generator" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/integration-tests/Cargo.toml b/integration-tests/Cargo.toml index 492f706e580..1ba31e68725 100644 --- a/integration-tests/Cargo.toml +++ b/integration-tests/Cargo.toml @@ -2,6 +2,7 @@ name = "integration-tests" version = "1.2.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/nearcore/Cargo.toml b/nearcore/Cargo.toml index 7c216e55901..de5c39a8c08 100644 --- a/nearcore/Cargo.toml +++ b/nearcore/Cargo.toml @@ -2,6 +2,7 @@ name = "nearcore" version = "0.0.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/neard/Cargo.toml b/neard/Cargo.toml index 569d805e620..c0706e20f1a 100644 --- a/neard/Cargo.toml +++ b/neard/Cargo.toml @@ -2,6 +2,7 @@ name = "neard" version = "0.0.0" authors = ["Near Inc "] +publish = false edition = "2018" default-run = "neard" diff --git a/pytest/empty-contract-rs/Cargo.toml b/pytest/empty-contract-rs/Cargo.toml index 4f1c6e0805d..c0f2366a86e 100644 --- a/pytest/empty-contract-rs/Cargo.toml +++ b/pytest/empty-contract-rs/Cargo.toml @@ -2,6 +2,7 @@ name = "empty-contract-rs" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [lib] diff --git a/runtime/near-test-contracts/test-contract-rs/Cargo.toml b/runtime/near-test-contracts/test-contract-rs/Cargo.toml index aa5314890fe..fd5b4fc0526 100644 --- a/runtime/near-test-contracts/test-contract-rs/Cargo.toml +++ b/runtime/near-test-contracts/test-contract-rs/Cargo.toml @@ -2,6 +2,7 @@ name = "test-contract-rs" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [lib] diff --git a/runtime/near-test-contracts/tiny-contract-rs/Cargo.toml b/runtime/near-test-contracts/tiny-contract-rs/Cargo.toml index 970c696b00f..fe6313c5ae9 100644 --- a/runtime/near-test-contracts/tiny-contract-rs/Cargo.toml +++ b/runtime/near-test-contracts/tiny-contract-rs/Cargo.toml @@ -2,6 +2,7 @@ name = "tiny-contract-rs" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [lib] diff --git a/runtime/near-vm-logic/Cargo.toml b/runtime/near-vm-logic/Cargo.toml index c6ae456328f..20f71dc992d 100644 --- a/runtime/near-vm-logic/Cargo.toml +++ b/runtime/near-vm-logic/Cargo.toml @@ -2,6 +2,7 @@ name = "near-vm-logic" version = "3.0.0" authors = ["Near Inc "] +publish = false edition = "2018" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/runtime/near-vm-runner-standalone/Cargo.toml b/runtime/near-vm-runner-standalone/Cargo.toml index 244828a1c8c..4b4ddd60a01 100644 --- a/runtime/near-vm-runner-standalone/Cargo.toml +++ b/runtime/near-vm-runner-standalone/Cargo.toml @@ -2,6 +2,7 @@ name = "near-vm-runner-standalone" version = "3.0.0" authors = ["Near Inc "] +publish = false edition = "2018" license = "Apache-2.0" readme = "README.md" diff --git a/runtime/near-vm-runner/Cargo.toml b/runtime/near-vm-runner/Cargo.toml index e6e4d03dec7..8f67c781f2d 100644 --- a/runtime/near-vm-runner/Cargo.toml +++ b/runtime/near-vm-runner/Cargo.toml @@ -2,6 +2,7 @@ name = "near-vm-runner" version = "3.0.0" authors = ["Near Inc "] +publish = false edition = "2018" license = "MIT OR Apache-2.0" readme = "README.md" diff --git a/runtime/runtime-params-estimator/Cargo.toml b/runtime/runtime-params-estimator/Cargo.toml index fb3d50f0238..e0148c9d8ac 100644 --- a/runtime/runtime-params-estimator/Cargo.toml +++ b/runtime/runtime-params-estimator/Cargo.toml @@ -2,6 +2,7 @@ name = "runtime-params-estimator" version = "3.0.0" authors = ["Near Inc "] +publish = false edition = "2018" [[bin]] diff --git a/runtime/runtime-params-estimator/small-test-contract/Cargo.toml b/runtime/runtime-params-estimator/small-test-contract/Cargo.toml index c5e32173254..f8f371acd7f 100644 --- a/runtime/runtime-params-estimator/small-test-contract/Cargo.toml +++ b/runtime/runtime-params-estimator/small-test-contract/Cargo.toml @@ -2,6 +2,7 @@ name = "smallest-contract" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [lib] diff --git a/runtime/runtime-params-estimator/test-contract/Cargo.toml b/runtime/runtime-params-estimator/test-contract/Cargo.toml index 917d7975e6e..5138cb599cc 100644 --- a/runtime/runtime-params-estimator/test-contract/Cargo.toml +++ b/runtime/runtime-params-estimator/test-contract/Cargo.toml @@ -2,6 +2,7 @@ name = "test-contract" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [lib] diff --git a/runtime/runtime/Cargo.toml b/runtime/runtime/Cargo.toml index b22f7442870..e6374d90aa7 100644 --- a/runtime/runtime/Cargo.toml +++ b/runtime/runtime/Cargo.toml @@ -3,6 +3,7 @@ name = "node-runtime" version = "3.0.0" license = "MIT OR Apache-2.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/test-utils/actix-test-utils/Cargo.toml b/test-utils/actix-test-utils/Cargo.toml index dffdfdf1891..06035ac5f21 100644 --- a/test-utils/actix-test-utils/Cargo.toml +++ b/test-utils/actix-test-utils/Cargo.toml @@ -2,6 +2,7 @@ name = "near-actix-test-utils" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/test-utils/loadtester/Cargo.toml b/test-utils/loadtester/Cargo.toml index e90ac7cd060..c43d3d68d38 100644 --- a/test-utils/loadtester/Cargo.toml +++ b/test-utils/loadtester/Cargo.toml @@ -2,6 +2,7 @@ name = "loadtester" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/test-utils/logger/Cargo.toml b/test-utils/logger/Cargo.toml index caba626c235..9bbf30833b1 100644 --- a/test-utils/logger/Cargo.toml +++ b/test-utils/logger/Cargo.toml @@ -2,6 +2,7 @@ name = "near-logger-utils" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/test-utils/runtime-tester/Cargo.toml b/test-utils/runtime-tester/Cargo.toml index 67902832255..1bac975fa32 100644 --- a/test-utils/runtime-tester/Cargo.toml +++ b/test-utils/runtime-tester/Cargo.toml @@ -2,6 +2,7 @@ name = "runtime-tester" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/test-utils/state-viewer/Cargo.toml b/test-utils/state-viewer/Cargo.toml index 6f2ba72dbe4..aa645e8ac7a 100644 --- a/test-utils/state-viewer/Cargo.toml +++ b/test-utils/state-viewer/Cargo.toml @@ -2,6 +2,7 @@ name = "state-viewer" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/test-utils/store-validator/Cargo.toml b/test-utils/store-validator/Cargo.toml index de8c5f803ce..64109b7e779 100644 --- a/test-utils/store-validator/Cargo.toml +++ b/test-utils/store-validator/Cargo.toml @@ -2,6 +2,7 @@ name = "store-validator" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/test-utils/testlib/Cargo.toml b/test-utils/testlib/Cargo.toml index c69ae7ff6f9..d0ed53b0754 100644 --- a/test-utils/testlib/Cargo.toml +++ b/test-utils/testlib/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "testlib" version = "0.1.0" +publish = false edition = "2018" [dependencies] diff --git a/tools/delay_detector/Cargo.toml b/tools/delay_detector/Cargo.toml index 38609a05bb2..7ee16ee8cc2 100644 --- a/tools/delay_detector/Cargo.toml +++ b/tools/delay_detector/Cargo.toml @@ -2,6 +2,7 @@ name = "delay-detector" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/tools/indexer/example/Cargo.toml b/tools/indexer/example/Cargo.toml index 51692737c76..0e78eab4276 100644 --- a/tools/indexer/example/Cargo.toml +++ b/tools/indexer/example/Cargo.toml @@ -2,6 +2,7 @@ name = "indexer-example" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/tools/restaked/Cargo.toml b/tools/restaked/Cargo.toml index 4add10ca2a5..e5457ef5018 100644 --- a/tools/restaked/Cargo.toml +++ b/tools/restaked/Cargo.toml @@ -2,6 +2,7 @@ name = "restaked" version = "0.1.0" authors = ["Near Inc "] +publish = false edition = "2018" [dependencies] diff --git a/tools/restored-receipts-verifier/Cargo.toml b/tools/restored-receipts-verifier/Cargo.toml index cfe087814d9..e15b74006eb 100644 --- a/tools/restored-receipts-verifier/Cargo.toml +++ b/tools/restored-receipts-verifier/Cargo.toml @@ -2,6 +2,7 @@ name = "restored-receipts-verifier" version = "0.1.0" authors = ["Aleksandr Logunov "] +publish = false edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/tools/storage-usage-delta-calculator/Cargo.toml b/tools/storage-usage-delta-calculator/Cargo.toml index a8c2c20ddba..c6d8450c3a2 100644 --- a/tools/storage-usage-delta-calculator/Cargo.toml +++ b/tools/storage-usage-delta-calculator/Cargo.toml @@ -2,6 +2,7 @@ name = "storage-usage-delta-calculator" version = "0.1.0" authors = ["Egor Kulikov "] +publish = false edition = "2018" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/utils/near-performance-metrics-macros/Cargo.toml b/utils/near-performance-metrics-macros/Cargo.toml index d9740576c14..472a3d6b051 100644 --- a/utils/near-performance-metrics-macros/Cargo.toml +++ b/utils/near-performance-metrics-macros/Cargo.toml @@ -2,6 +2,7 @@ name = "near-performance-metrics-macros" version = "0.1.0" authors = ["Near Inc ", "Piotr Mikulski ", "Piotr Mikulski ", "Piotr Mikulski