#bindings #build #default #cmake #tonlib #tonlibjson #shared-tonlib

sys tonlib-sys

Rust bindings for tonlibjson library

16 stable releases

new 2024.3.7 May 10, 2024
2024.3.3 Apr 19, 2024
2024.3.0 Mar 15, 2024
2023.12.0 Jan 17, 2024
0.1.2 Apr 19, 2023

#134 in Emulators

Download history 9/week @ 2024-01-19 9/week @ 2024-02-02 34/week @ 2024-02-09 36/week @ 2024-02-16 64/week @ 2024-02-23 28/week @ 2024-03-01 70/week @ 2024-03-08 169/week @ 2024-03-15 36/week @ 2024-03-22 113/week @ 2024-03-29 64/week @ 2024-04-05 490/week @ 2024-04-12 318/week @ 2024-04-19 223/week @ 2024-04-26 336/week @ 2024-05-03

1,376 downloads per month
Used in 2 crates (via tonlib)

MIT license

23KB
396 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.

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.3"

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

~220KB