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: 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