From 691f9c12b0c22fd7754f42dac788a3713daef501 Mon Sep 17 00:00:00 2001 From: Christian Reitter Date: Thu, 30 Nov 2023 17:00:13 +0100 Subject: [PATCH] Set opt-out flag for Rust crates to prevent accidental publishing --- src/eif_build/Cargo.toml | 1 + src/init/Cargo.toml | 1 + src/qos_aws/Cargo.toml | 1 + src/qos_client/Cargo.toml | 1 + src/qos_core/Cargo.toml | 1 + src/qos_crypto/Cargo.toml | 1 + src/qos_enclave/Cargo.toml | 1 + src/qos_hex/Cargo.toml | 1 + src/qos_host/Cargo.toml | 1 + src/qos_nsm/Cargo.toml | 1 + src/qos_p256/Cargo.toml | 1 + src/qos_system/Cargo.toml | 1 + src/qos_test_primitives/Cargo.toml | 1 + 13 files changed, 13 insertions(+) diff --git a/src/eif_build/Cargo.toml b/src/eif_build/Cargo.toml index 3e2207a8..1ff49dd7 100644 --- a/src/eif_build/Cargo.toml +++ b/src/eif_build/Cargo.toml @@ -1,6 +1,7 @@ [package] name = "eif_build" version = "0.1.0" +publish = false [dependencies] sha2 = "0.9.5" diff --git a/src/init/Cargo.toml b/src/init/Cargo.toml index 791ebd96..3838872a 100644 --- a/src/init/Cargo.toml +++ b/src/init/Cargo.toml @@ -2,6 +2,7 @@ name = "init" version = "0.1.0" edition = "2021" +publish = false [dependencies] libc = "0.2.148" diff --git a/src/qos_aws/Cargo.toml b/src/qos_aws/Cargo.toml index 800f34ac..444b6115 100644 --- a/src/qos_aws/Cargo.toml +++ b/src/qos_aws/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_aws" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/qos_client/Cargo.toml b/src/qos_client/Cargo.toml index 9d65fbc0..57d9bace 100644 --- a/src/qos_client/Cargo.toml +++ b/src/qos_client/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_client" version = "0.1.0" edition = "2021" +publish = false [dependencies] qos_core = { path = "../qos_core", default-features = false } diff --git a/src/qos_core/Cargo.toml b/src/qos_core/Cargo.toml index a2d86981..d2693064 100644 --- a/src/qos_core/Cargo.toml +++ b/src/qos_core/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_core" version = "0.1.0" edition = "2021" +publish = false [dependencies] qos_crypto = { path = "../qos_crypto" } diff --git a/src/qos_crypto/Cargo.toml b/src/qos_crypto/Cargo.toml index 1b9ae759..b6a77599 100644 --- a/src/qos_crypto/Cargo.toml +++ b/src/qos_crypto/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_crypto" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/qos_enclave/Cargo.toml b/src/qos_enclave/Cargo.toml index 042131e3..d9e72a03 100644 --- a/src/qos_enclave/Cargo.toml +++ b/src/qos_enclave/Cargo.toml @@ -4,6 +4,7 @@ version = "1.2.0" authors = [""] edition = "2018" rust-version = "1.61" +publish = false [dependencies] nitro-cli = { git = "https://github.com/aws/aws-nitro-enclaves-cli", version = "1.2.2" } diff --git a/src/qos_hex/Cargo.toml b/src/qos_hex/Cargo.toml index bf529317..6ac32f48 100644 --- a/src/qos_hex/Cargo.toml +++ b/src/qos_hex/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_hex" version = "0.1.0" edition = "2021" +publish = false [dependencies] serde = {version = "1", optional = true, default-features = false } diff --git a/src/qos_host/Cargo.toml b/src/qos_host/Cargo.toml index 95bea9a5..3049aee3 100644 --- a/src/qos_host/Cargo.toml +++ b/src/qos_host/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_host" version = "0.1.0" edition = "2021" +publish = false [dependencies] qos_core = { path = "../qos_core", default-features = false } diff --git a/src/qos_nsm/Cargo.toml b/src/qos_nsm/Cargo.toml index 77498333..f0702225 100644 --- a/src/qos_nsm/Cargo.toml +++ b/src/qos_nsm/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_nsm" version = "0.1.0" edition = "2021" +publish = false [dependencies] qos_hex = { path = "../qos_hex" } diff --git a/src/qos_p256/Cargo.toml b/src/qos_p256/Cargo.toml index f9ac2a36..02c2dd3f 100644 --- a/src/qos_p256/Cargo.toml +++ b/src/qos_p256/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_p256" version = "0.1.0" edition = "2021" +publish = false [dependencies] qos_hex = { path = "../qos_hex" } diff --git a/src/qos_system/Cargo.toml b/src/qos_system/Cargo.toml index 7388f51a..0023c705 100644 --- a/src/qos_system/Cargo.toml +++ b/src/qos_system/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_system" version = "0.1.0" edition = "2021" +publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/qos_test_primitives/Cargo.toml b/src/qos_test_primitives/Cargo.toml index acf1c258..754674de 100644 --- a/src/qos_test_primitives/Cargo.toml +++ b/src/qos_test_primitives/Cargo.toml @@ -2,6 +2,7 @@ name = "qos_test_primitives" version = "0.1.0" edition = "2021" +publish = false [dependencies] rand = "0.8"