diff --git a/README.md b/README.md
index 0d0b0bd1..42d618af 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-
+
[![CI](https://github.com/eclipse-zenoh/zenoh-kotlin/workflows/CI/badge.svg)](https://github.com/eclipse-zenoh/zenoh-kotlin/actions?query=workflow%3A%22CI%22)
[![Release status](https://github.com/eclipse-zenoh/zenoh-kotlin/actions/workflows/release.yml/badge.svg)](https://github.com/eclipse-zenoh/zenoh-kotlin/actions/workflows/release.yml)
@@ -39,7 +39,7 @@ Alternatively, you can build it locally as [explained below](#building-the-docum
For this first version we have published a [Github package](https://github.com/eclipse-zenoh/zenoh-kotlin/packages/1968034) with the library which can be imported on your projects.
-Checkout the [Zenoh demo app](https://github.com/eclipse-zenoh/zenoh-demos/tree/master/zenoh-android/ZenohApp) for an example on how to use the library.
+Checkout the [Zenoh demo app](https://github.com/eclipse-zenoh/zenoh-demos/tree/main/zenoh-android/ZenohApp) for an example on how to use the library.
First add the Github packages repository to your `settings.gradle.kts`:
diff --git a/rust-toolchain b/rust-toolchain
deleted file mode 100644
index 0834888f..00000000
--- a/rust-toolchain
+++ /dev/null
@@ -1 +0,0 @@
-1.72.0
diff --git a/rust-toolchain.toml b/rust-toolchain.toml
new file mode 100644
index 00000000..743f7cd9
--- /dev/null
+++ b/rust-toolchain.toml
@@ -0,0 +1,2 @@
+[toolchain]
+channel = "1.72.0"
diff --git a/zenoh-jni/Cargo.lock b/zenoh-jni/Cargo.lock
index 5356da0a..cbcfb9af 100644
--- a/zenoh-jni/Cargo.lock
+++ b/zenoh-jni/Cargo.lock
@@ -3058,7 +3058,7 @@ checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04"
[[package]]
name = "zenoh"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-global-executor",
"async-std",
@@ -3106,7 +3106,7 @@ dependencies = [
[[package]]
name = "zenoh-buffers"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"zenoh-collections",
]
@@ -3114,7 +3114,7 @@ dependencies = [
[[package]]
name = "zenoh-codec"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"log",
"serde",
@@ -3126,12 +3126,12 @@ dependencies = [
[[package]]
name = "zenoh-collections"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
[[package]]
name = "zenoh-config"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"flume 0.11.0",
"json5",
@@ -3150,7 +3150,7 @@ dependencies = [
[[package]]
name = "zenoh-core"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"lazy_static",
@@ -3160,7 +3160,7 @@ dependencies = [
[[package]]
name = "zenoh-crypto"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"aes",
"hmac",
@@ -3173,7 +3173,7 @@ dependencies = [
[[package]]
name = "zenoh-ext"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"bincode",
@@ -3193,7 +3193,7 @@ dependencies = [
[[package]]
name = "zenoh-keyexpr"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"hashbrown 0.14.0",
"keyed-set",
@@ -3207,7 +3207,7 @@ dependencies = [
[[package]]
name = "zenoh-link"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"async-trait",
@@ -3226,7 +3226,7 @@ dependencies = [
[[package]]
name = "zenoh-link-commons"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"async-trait",
@@ -3243,7 +3243,7 @@ dependencies = [
[[package]]
name = "zenoh-link-quic"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-rustls",
"async-std",
@@ -3269,7 +3269,7 @@ dependencies = [
[[package]]
name = "zenoh-link-tcp"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"async-trait",
@@ -3285,7 +3285,7 @@ dependencies = [
[[package]]
name = "zenoh-link-tls"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-rustls",
"async-std",
@@ -3310,7 +3310,7 @@ dependencies = [
[[package]]
name = "zenoh-link-udp"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"async-trait",
@@ -3329,7 +3329,7 @@ dependencies = [
[[package]]
name = "zenoh-link-unixsock_stream"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"async-trait",
@@ -3347,7 +3347,7 @@ dependencies = [
[[package]]
name = "zenoh-link-ws"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"async-trait",
@@ -3367,7 +3367,7 @@ dependencies = [
[[package]]
name = "zenoh-macros"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"proc-macro2",
"quote",
@@ -3380,7 +3380,7 @@ dependencies = [
[[package]]
name = "zenoh-plugin-trait"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"libloading",
"log",
@@ -3393,7 +3393,7 @@ dependencies = [
[[package]]
name = "zenoh-protocol"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"const_format",
"hex",
@@ -3409,7 +3409,7 @@ dependencies = [
[[package]]
name = "zenoh-result"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"anyhow",
]
@@ -3417,7 +3417,7 @@ dependencies = [
[[package]]
name = "zenoh-sync"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"event-listener 4.0.0",
@@ -3432,7 +3432,7 @@ dependencies = [
[[package]]
name = "zenoh-transport"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-executor",
"async-global-executor",
@@ -3463,7 +3463,7 @@ dependencies = [
[[package]]
name = "zenoh-util"
version = "0.11.0-dev"
-source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=master#780ec606ba4000a17b2da0e2b0b668e11d37c65e"
+source = "git+https://github.com/eclipse-zenoh/zenoh.git?branch=main#2ad877ca1cb3eec4af450007e6b5b9706c5b8a32"
dependencies = [
"async-std",
"async-trait",
diff --git a/zenoh-jni/Cargo.toml b/zenoh-jni/Cargo.toml
index ef66a11b..4e1341ac 100644
--- a/zenoh-jni/Cargo.toml
+++ b/zenoh-jni/Cargo.toml
@@ -37,8 +37,8 @@ jni = "0.21.1"
flume = "0.10.14"
uhlc = "0.6.0"
json5 = "0.4.1"
-zenoh = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master", default-features = false }
-zenoh-ext = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "master", default-features = false }
+zenoh = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", default-features = false }
+zenoh-ext = { version = "0.11.0-dev", git = "https://github.com/eclipse-zenoh/zenoh.git", branch = "main", default-features = false }
[lib]
name = "zenoh_jni"