From 03c18445e5f1f8f3c8632faee9a818b40826f2ee Mon Sep 17 00:00:00 2001 From: Dmitrii Korchagin Date: Tue, 11 Jun 2024 17:04:57 +0200 Subject: [PATCH 1/2] Impl #NI: up tonlib to 2024.06 --- build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.rs b/build.rs index 26f7199..f5a8099 100644 --- a/build.rs +++ b/build.rs @@ -10,7 +10,7 @@ fn main() { build(); } -const TON_MONOREPO_REVISION: &str = "4cfe1d1a96acf956e28e2bbc696a143489e23631"; +const TON_MONOREPO_REVISION: &str = "v2024.06"; const TON_MONOREPO_DIR: &str = "./ton"; #[cfg(not(feature = "shared-tonlib"))] @@ -30,7 +30,7 @@ fn build() { .args([ "clone", "--branch", - "v2024.04", + TON_MONOREPO_REVISION, "--depth", "1", // get only the latest commit "--recurse-submodules", // clone submodules as well From 202cc1e84e50d0f4a273d2a4cac49347dfaeb268 Mon Sep 17 00:00:00 2001 From: dbaranov34 Date: Tue, 11 Jun 2024 19:11:55 +0400 Subject: [PATCH 2/2] bump revision --- Cargo.toml | 2 +- README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7a6fde9..6d5c69f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tonlib-sys" -version = "2024.4.0" +version = "2024.6.0" edition = "2021" description = "Rust bindings for tonlibjson library" license = "MIT" diff --git a/README.md b/README.md index fc060e7..a0103ec 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ To use this library in your Rust application, add the following to your Cargo.to ```toml [dependencies] -tonlib-sys = "2024.3" +tonlib-sys = "2024.6" ``` Then, in your Rust code, you can import the library with: