diff --git a/examples/autojoin/Cargo.toml b/examples/autojoin/Cargo.toml index 42aebd728..fc304a2cc 100644 --- a/examples/autojoin/Cargo.toml +++ b/examples/autojoin/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-autojoin" +test = false + [dependencies] tokio = { version = "1.20.1", features = ["full"] } anyhow = "1" diff --git a/examples/command_bot/Cargo.toml b/examples/command_bot/Cargo.toml index ac8b169c9..288409032 100644 --- a/examples/command_bot/Cargo.toml +++ b/examples/command_bot/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-command-bot" +test = false + [dependencies] anyhow = "1" tokio = { version = "1.20.1", features = ["full"] } diff --git a/examples/cross_signing_bootstrap/Cargo.toml b/examples/cross_signing_bootstrap/Cargo.toml index bcb9d048a..6ede71428 100644 --- a/examples/cross_signing_bootstrap/Cargo.toml +++ b/examples/cross_signing_bootstrap/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-cross-signing-bootstrap" +test = false + [dependencies] anyhow = "1" tokio = { version = "1.20.1", features = ["full"] } diff --git a/examples/custom_events/Cargo.toml b/examples/custom_events/Cargo.toml index ddec6961a..b6b410c36 100644 --- a/examples/custom_events/Cargo.toml +++ b/examples/custom_events/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-custom-events" +test = false + [dependencies] anyhow = "1" dirs = "4.0.0" diff --git a/examples/emoji_verification/Cargo.toml b/examples/emoji_verification/Cargo.toml index 3620379cc..be6216b3c 100644 --- a/examples/emoji_verification/Cargo.toml +++ b/examples/emoji_verification/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-emoji-verification" +test = false + [dependencies] anyhow = "1" tokio = { version = "1.20.1", features = ["full"] } diff --git a/examples/get_profiles/Cargo.toml b/examples/get_profiles/Cargo.toml index 55338d3e3..de742332c 100644 --- a/examples/get_profiles/Cargo.toml +++ b/examples/get_profiles/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-get-profiles" +test = false + [dependencies] anyhow = "1" tokio = { version = "1.20.1", features = ["full"] } diff --git a/examples/getting_started/Cargo.toml b/examples/getting_started/Cargo.toml index 4f23dbdf6..bc7e1c145 100644 --- a/examples/getting_started/Cargo.toml +++ b/examples/getting_started/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-getting-started" +test = false + [dependencies] anyhow = "1" dirs = "4.0.0" diff --git a/examples/image_bot/Cargo.toml b/examples/image_bot/Cargo.toml index 699b2e62f..6aa474fd9 100644 --- a/examples/image_bot/Cargo.toml +++ b/examples/image_bot/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-image-bot" +test = false + [dependencies] anyhow = "1" mime = "0.3.16" diff --git a/examples/login/Cargo.toml b/examples/login/Cargo.toml index f2b3e16b4..89664d82f 100644 --- a/examples/login/Cargo.toml +++ b/examples/login/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-login" +test = false + [dependencies] anyhow = "1" tokio = { version = "1.20.1", features = ["full"] } diff --git a/examples/timeline/Cargo.toml b/examples/timeline/Cargo.toml index 4e018cebc..f453e2618 100644 --- a/examples/timeline/Cargo.toml +++ b/examples/timeline/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "example-timeline" +test = false + [dependencies] anyhow = "1" futures = "0.3" diff --git a/examples/wasm_command_bot/Cargo.toml b/examples/wasm_command_bot/Cargo.toml index e5b190be6..dc5291a67 100644 --- a/examples/wasm_command_bot/Cargo.toml +++ b/examples/wasm_command_bot/Cargo.toml @@ -9,6 +9,7 @@ publish = false [lib] crate-type = ["cdylib"] +test = false [dependencies] url = "2.2.2" diff --git a/labs/sled-state-inspector/Cargo.toml b/labs/sled-state-inspector/Cargo.toml index 60a0366c7..499b16c52 100644 --- a/labs/sled-state-inspector/Cargo.toml +++ b/labs/sled-state-inspector/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "sled-state-inspector" +test = false + [dependencies] atty = "0.2.14" clap = "3.2.4" diff --git a/testing/matrix-sdk-test-macros/Cargo.toml b/testing/matrix-sdk-test-macros/Cargo.toml index 46569e083..0430df3c2 100644 --- a/testing/matrix-sdk-test-macros/Cargo.toml +++ b/testing/matrix-sdk-test-macros/Cargo.toml @@ -14,6 +14,8 @@ publish = false [lib] proc-macro = true +test = false +doctest = false [dependencies] proc-macro2 = "1.0.37" diff --git a/testing/matrix-sdk-test/Cargo.toml b/testing/matrix-sdk-test/Cargo.toml index bfe738bb6..2a1b62bc7 100644 --- a/testing/matrix-sdk-test/Cargo.toml +++ b/testing/matrix-sdk-test/Cargo.toml @@ -12,6 +12,10 @@ rust-version = "1.60" version = "0.5.0" publish = false +[lib] +test = false +doctest = false + [features] appservice = [] diff --git a/xtask/Cargo.toml b/xtask/Cargo.toml index b576189c8..20159e73e 100644 --- a/xtask/Cargo.toml +++ b/xtask/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" edition = "2021" publish = false +[[bin]] +name = "xtask" +test = false + [dependencies] clap = { version = "3.2.4", features = ["derive"] } serde = { version = "1.0.136", features = ["derive"] }