From 7276d0c839c13f8eff5e3e5309db878e32009896 Mon Sep 17 00:00:00 2001 From: Marvin Hansen Date: Fri, 1 Dec 2023 00:54:12 +0800 Subject: [PATCH] Set example and plugin-example crate to non-publish to reduce release build time (#602) --- examples/Cargo.toml | 1 + examples/README.md | 2 +- plugins/example-plugin/Cargo.toml | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/Cargo.toml b/examples/Cargo.toml index 116e3dff8d..b0f6507d20 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -24,6 +24,7 @@ categories = { workspace = true } description = "Internal crate for zenoh." readme = "README.md" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +publish = false [features] shared-memory = ["zenoh/shared-memory"] diff --git a/examples/README.md b/examples/README.md index fd25e4322d..8e5b3085ba 100644 --- a/examples/README.md +++ b/examples/README.md @@ -253,4 +253,4 @@ or ```bash z_sub_liveliness -k group1/** - ``` \ No newline at end of file + ``` diff --git a/plugins/example-plugin/Cargo.toml b/plugins/example-plugin/Cargo.toml index 82cdeba6e5..0a315b7a35 100644 --- a/plugins/example-plugin/Cargo.toml +++ b/plugins/example-plugin/Cargo.toml @@ -17,6 +17,7 @@ name = "zenoh-plugin-example" version = { workspace = true } authors = { workspace = true } edition = { workspace = true } +publish = false [lib] # When auto-detecting the "example" plugin, `zenohd` will look for a dynamic library named "zenoh_plugin_example"