rtdlib-sys

Crates.iortdlib-sys
lib.rsrtdlib-sys
version0.1.0
sourcesrc
created_at2020-05-27 05:31:43.340812
updated_at2020-05-27 05:31:43.340812
descriptiontd binding
homepagehttps://github.com/fewensa/rtdlib-sys
repositoryhttps://github.com/fewensa/rtdlib-sys
max_upload_size
id246549
size8,953
(fewensa)

documentation

README

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
Commit count: 1

cargo fmt