From febbed35c15634932061f25c6bc5bff458962074 Mon Sep 17 00:00:00 2001 From: ChenYing Kuo Date: Thu, 1 Aug 2024 13:59:51 +0800 Subject: [PATCH] Update the Cargo.toml for the release. Signed-off-by: ChenYing Kuo --- Cargo.toml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e6b6e7c..ca94f33 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,12 +14,13 @@ [package] description = "Zenoh Rust Transport library implementation of the Eclipse uProtocol" edition = "2021" -exclude = [ - "tests/*", - ".github/*", - ".gitignore", +include = [ + "/src/*", + "/examples/*", + "/Cargo.toml", + "/README.md", ] -keywords = ["uProtocol", "SDK", "Zenoh"] +keywords = ["uProtocol", "SDK", "communication", "Zenoh"] license = "Apache-2.0" name = "up-transport-zenoh" readme = "README.md" @@ -53,3 +54,11 @@ zenoh = { version = "0.11.0", features = ["unstable"]} [dev-dependencies] test-case = { version = "3.3" } + +[profile.release] +opt-level = 3 +lto = "fat" +codegen-units = 1 + +[package.metadata.docs.rs] +all-features = true