diff --git a/examples/appservice_autojoin/Cargo.toml b/examples/appservice_autojoin/Cargo.toml index 9d8c1c2b7..6dc25a089 100644 --- a/examples/appservice_autojoin/Cargo.toml +++ b/examples/appservice_autojoin/Cargo.toml @@ -13,6 +13,6 @@ anyhow = "1" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" tracing = { workspace = true } - -[dependencies.matrix-sdk-appservice] -path = "../../crates/matrix-sdk-appservice" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk-appservice = { path = "../../crates/matrix-sdk-appservice" } diff --git a/examples/autojoin/Cargo.toml b/examples/autojoin/Cargo.toml index 62b70b707..e9b600cb1 100644 --- a/examples/autojoin/Cargo.toml +++ b/examples/autojoin/Cargo.toml @@ -12,7 +12,6 @@ test = false tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } anyhow = "1" tracing-subscriber = "0.3.15" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/command_bot/Cargo.toml b/examples/command_bot/Cargo.toml index e422dd106..3f22ee32c 100644 --- a/examples/command_bot/Cargo.toml +++ b/examples/command_bot/Cargo.toml @@ -12,7 +12,6 @@ test = false anyhow = "1" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/cross_signing_bootstrap/Cargo.toml b/examples/cross_signing_bootstrap/Cargo.toml index 714ccf829..f43ff181b 100644 --- a/examples/cross_signing_bootstrap/Cargo.toml +++ b/examples/cross_signing_bootstrap/Cargo.toml @@ -13,8 +13,6 @@ anyhow = "1" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" url = "2.2.2" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" -features = ["e2e-encryption"] +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/custom_events/Cargo.toml b/examples/custom_events/Cargo.toml index 38e4382dd..3228f62d0 100644 --- a/examples/custom_events/Cargo.toml +++ b/examples/custom_events/Cargo.toml @@ -13,7 +13,6 @@ anyhow = "1" serde = "1.0" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/emoji_verification/Cargo.toml b/examples/emoji_verification/Cargo.toml index c26f746e0..aaf838d26 100644 --- a/examples/emoji_verification/Cargo.toml +++ b/examples/emoji_verification/Cargo.toml @@ -15,8 +15,6 @@ clap = { version = "4.0.15", features = ["derive"] } futures-util = "0.3.24" tracing-subscriber = "0.3.16" url = "2.3.1" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" -features = ["e2e-encryption"] +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/get_profiles/Cargo.toml b/examples/get_profiles/Cargo.toml index ba766ba52..30617a3ff 100644 --- a/examples/get_profiles/Cargo.toml +++ b/examples/get_profiles/Cargo.toml @@ -13,7 +13,6 @@ anyhow = "1" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" url = "2.2.2" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/getting_started/Cargo.toml b/examples/getting_started/Cargo.toml index a7f9b6319..a0344c437 100644 --- a/examples/getting_started/Cargo.toml +++ b/examples/getting_started/Cargo.toml @@ -12,7 +12,6 @@ test = false anyhow = "1" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/image_bot/Cargo.toml b/examples/image_bot/Cargo.toml index 1b743e99b..3e22d22a3 100644 --- a/examples/image_bot/Cargo.toml +++ b/examples/image_bot/Cargo.toml @@ -14,7 +14,6 @@ mime = "0.3.16" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" url = "2.2.2" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/login/Cargo.toml b/examples/login/Cargo.toml index ef6805564..8c2c125a6 100644 --- a/examples/login/Cargo.toml +++ b/examples/login/Cargo.toml @@ -13,8 +13,6 @@ anyhow = "1" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" url = "2.2.2" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" -features = ["sso-login"] +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk", features = ["sso-login"] } diff --git a/examples/persist_session/Cargo.toml b/examples/persist_session/Cargo.toml index 920203867..1d405d013 100644 --- a/examples/persist_session/Cargo.toml +++ b/examples/persist_session/Cargo.toml @@ -16,7 +16,6 @@ serde = { workspace = true } serde_json = { workspace = true } tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } diff --git a/examples/timeline/Cargo.toml b/examples/timeline/Cargo.toml index 1f5335f57..1ea95336b 100644 --- a/examples/timeline/Cargo.toml +++ b/examples/timeline/Cargo.toml @@ -15,11 +15,7 @@ futures-util = "0.3" tokio = { version = "1.24.2", features = ["macros", "rt-multi-thread"] } tracing-subscriber = "0.3.15" url = "2.2.2" - -[dependencies.matrix-sdk] -path = "../../crates/matrix-sdk" -version = "0.6.0" - -[dependencies.matrix-sdk-ui] -path = "../../crates/matrix-sdk-ui" -version = "0.6.0" +# when copy-pasting this, please use a git dependency or make sure that you +# have copied the example as it was at the time of the release you use. +matrix-sdk = { path = "../../crates/matrix-sdk" } +matrix-sdk-ui = { path = "../../crates/matrix-sdk-ui" }