1 unstable release

0.1.0 May 27, 2020

#14 in #tdlib

Download history 4/week @ 2024-08-31 6/week @ 2024-09-07 6/week @ 2024-09-14 23/week @ 2024-09-21 30/week @ 2024-09-28 4/week @ 2024-10-05 7/week @ 2024-10-12 6/week @ 2024-10-19 4/week @ 2024-10-26 3/week @ 2024-11-02 2/week @ 2024-11-09 6/week @ 2024-11-16 8/week @ 2024-11-23 7/week @ 2024-11-30 21/week @ 2024-12-07 14/week @ 2024-12-14

51 downloads per month
Used in 2 crates (via rtdlib)

MIT license

8KB
91 lines

rtdlib-sys

Build Status

rtdlib-sys can call td for rust.

How include tdjson

The first you need read td know how to build td.

And then, when you have tdjson dylib file (.so/.lib/.dll) copy the file to the path of the system $PATH variable.

Or set an environment RUSTFLAGS, in the development phase, you can set RUSTFLAGS environment to you IDE.

Linux

export RUSTFLAGS="-C link-args=-Wl,-rpath,/path/to/lib_dir"
cargo run

Windows

MSVC

RUSTFLAGS=-C link-args=-LIBPATH:D:/path/to/lib_dir

Dependencies

~43KB