23 stable releases

new 2024.10.1 Nov 22, 2024
2024.9.0 Sep 23, 2024
2024.6.1 Jun 27, 2024
2024.3.0 Mar 15, 2024
0.1.2 Apr 19, 2023

#6 in #ton

Download history 132/week @ 2024-08-02 149/week @ 2024-08-09 265/week @ 2024-08-16 155/week @ 2024-08-23 66/week @ 2024-08-30 104/week @ 2024-09-06 154/week @ 2024-09-13 352/week @ 2024-09-20 206/week @ 2024-09-27 147/week @ 2024-10-04 163/week @ 2024-10-11 134/week @ 2024-10-18 163/week @ 2024-10-25 275/week @ 2024-11-01 194/week @ 2024-11-08 126/week @ 2024-11-15

799 downloads per month
Used in 2 crates

MIT license

135KB
580 lines

Rust Bindings for tonlibjson Library

This repository contains the Rust bindings for tonlib library (https://github.com/ton-blockchain/ton), allowing developers to use tonlib functionality in their Rust applications. Starting from version 2024.6.1, this project depends on a forked version of ton instead of the original (https://github.com/ston-fi/ton). This change was made to address urgent fixes and potential future needs.

Features

  • Uses Cmake to build tonlibjson_static by default.
  • Supports shared tonlib. You can build with --features shared-tonlib.

Usage

This library is used in the tonlib-rs library (https://github.com/ston-fi/tonlib-rs), which provides a higher-level Rust interface to the tonlib functionality.

To use this library in your Rust application, add the following to your Cargo.toml file:

[dependencies]
tonlib-sys = "2024.10"

Then, in your Rust code, you can import the library with:

use tonlib_sys;

Contributing

If you want to contribute to this library, please feel free to open a pull request on GitHub.

License

This library is licensed under the MIT license. See the LICENSE file for details.

No runtime deps

~0–325KB