tonlib-sys

Crates.iotonlib-sys
lib.rstonlib-sys
version2024.10.0
sourcesrc
created_at2023-04-17 17:04:32.523357
updated_at2024-11-04 12:54:30.540461
descriptionRust bindings for tonlibjson library
homepage
repositoryhttps://github.com/ston-fi/tonlib-sys
max_upload_size
id841694
size126,094
Ruslan Racheev (ruslanracheev)

documentation

README

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.

Commit count: 315

cargo fmt