From 9c166d4e9736284fa3a7ade927ceb2be4a8545e7 Mon Sep 17 00:00:00 2001 From: Andrew Walbran Date: Thu, 23 Mar 2023 15:05:38 +0000 Subject: [PATCH] Set publish = false in examples and exercises. --- src/bare-metal/alloc-example/Cargo.toml | 1 + src/bare-metal/aps/examples/Cargo.toml | 1 + src/bare-metal/microcontrollers/examples/Cargo.toml | 1 + src/bare-metal/useful-crates/allocator-example/Cargo.toml | 1 + src/bare-metal/useful-crates/zerocopy-example/Cargo.toml | 1 + src/exercises/bare-metal/compass/Cargo.toml | 1 + src/exercises/bare-metal/rtc/Cargo.toml | 1 + 7 files changed, 7 insertions(+) diff --git a/src/bare-metal/alloc-example/Cargo.toml b/src/bare-metal/alloc-example/Cargo.toml index 2be4bdff..472ba6e1 100644 --- a/src/bare-metal/alloc-example/Cargo.toml +++ b/src/bare-metal/alloc-example/Cargo.toml @@ -4,6 +4,7 @@ name = "alloc-example" version = "0.1.0" edition = "2021" +publish = false [dependencies] buddy_system_allocator = "0.9.0" diff --git a/src/bare-metal/aps/examples/Cargo.toml b/src/bare-metal/aps/examples/Cargo.toml index 85e52258..9f81adad 100644 --- a/src/bare-metal/aps/examples/Cargo.toml +++ b/src/bare-metal/aps/examples/Cargo.toml @@ -4,6 +4,7 @@ name = "ap-examples" version = "0.1.0" edition = "2021" +publish = false [dependencies] bitflags = "2.0.0" diff --git a/src/bare-metal/microcontrollers/examples/Cargo.toml b/src/bare-metal/microcontrollers/examples/Cargo.toml index 1a612d0c..7a48c620 100644 --- a/src/bare-metal/microcontrollers/examples/Cargo.toml +++ b/src/bare-metal/microcontrollers/examples/Cargo.toml @@ -4,6 +4,7 @@ name = "microcontroller-examples" version = "0.1.0" edition = "2021" +publish = false [dependencies] cortex-m-rt = "0.7.3" diff --git a/src/bare-metal/useful-crates/allocator-example/Cargo.toml b/src/bare-metal/useful-crates/allocator-example/Cargo.toml index 5a85cc23..0d0c7b1f 100644 --- a/src/bare-metal/useful-crates/allocator-example/Cargo.toml +++ b/src/bare-metal/useful-crates/allocator-example/Cargo.toml @@ -2,6 +2,7 @@ name = "allocator-example" version = "0.1.0" edition = "2021" +publish = false [dependencies] buddy_system_allocator = "0.9.0" diff --git a/src/bare-metal/useful-crates/zerocopy-example/Cargo.toml b/src/bare-metal/useful-crates/zerocopy-example/Cargo.toml index d8bec976..f64cf030 100644 --- a/src/bare-metal/useful-crates/zerocopy-example/Cargo.toml +++ b/src/bare-metal/useful-crates/zerocopy-example/Cargo.toml @@ -2,6 +2,7 @@ name = "zerocopy-example" version = "0.1.0" edition = "2021" +publish = false [dependencies] zerocopy = "0.6.1" diff --git a/src/exercises/bare-metal/compass/Cargo.toml b/src/exercises/bare-metal/compass/Cargo.toml index 89f16503..072ad64a 100644 --- a/src/exercises/bare-metal/compass/Cargo.toml +++ b/src/exercises/bare-metal/compass/Cargo.toml @@ -4,6 +4,7 @@ name = "compass" version = "0.1.0" edition = "2021" +publish = false [dependencies] cortex-m-rt = "0.7.3" diff --git a/src/exercises/bare-metal/rtc/Cargo.toml b/src/exercises/bare-metal/rtc/Cargo.toml index 77a78fe4..405da5de 100644 --- a/src/exercises/bare-metal/rtc/Cargo.toml +++ b/src/exercises/bare-metal/rtc/Cargo.toml @@ -4,6 +4,7 @@ name = "rtc" version = "0.1.0" edition = "2021" +publish = false [dependencies] bitflags = "2.0.0"