From d8617d4dcbee8607d0e92fe3b8745a045f6eaca1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 21 Mar 2022 14:10:09 +0100 Subject: [PATCH] examples: Prevent publishing examples --- examples/hello_isahc/Cargo.toml | 3 +-- examples/hello_world/Cargo.toml | 3 +-- examples/joke_bot/Cargo.toml | 3 +-- examples/message_log/Cargo.toml | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/examples/hello_isahc/Cargo.toml b/examples/hello_isahc/Cargo.toml index f5e352cc..f4a4e3a8 100644 --- a/examples/hello_isahc/Cargo.toml +++ b/examples/hello_isahc/Cargo.toml @@ -2,8 +2,7 @@ name = "hello_isahc" version = "0.1.0" edition = "2018" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +publish = false [dependencies] ruma = { version = "0.5.0", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-isahc", "rand"] } diff --git a/examples/hello_world/Cargo.toml b/examples/hello_world/Cargo.toml index 6706c0c4..d9ccf129 100644 --- a/examples/hello_world/Cargo.toml +++ b/examples/hello_world/Cargo.toml @@ -2,8 +2,7 @@ name = "hello_world" version = "0.1.0" edition = "2018" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +publish = false [dependencies] ruma = { version = "0.5.0", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls", "rand"] } diff --git a/examples/joke_bot/Cargo.toml b/examples/joke_bot/Cargo.toml index 6853f851..57f1e017 100644 --- a/examples/joke_bot/Cargo.toml +++ b/examples/joke_bot/Cargo.toml @@ -2,8 +2,7 @@ name = "joke_bot" version = "0.1.0" edition = "2018" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +publish = false [dependencies] ruma = { version = "0.5.0", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls", "rand"] } diff --git a/examples/message_log/Cargo.toml b/examples/message_log/Cargo.toml index b82f7bbc..66aaac73 100644 --- a/examples/message_log/Cargo.toml +++ b/examples/message_log/Cargo.toml @@ -2,8 +2,7 @@ name = "message_log" version = "0.1.0" edition = "2018" - -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +publish = false [dependencies] ruma = { version = "0.5.0", path = "../../crates/ruma", features = ["client-api-c", "client-ext-client-api", "client-hyper-native-tls"] }