Documentation
  • Coverage
  • 77.78%
    7 out of 9 items documented7 out of 8 items with examples
  • Size
  • Source code size: 8.8 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.42 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Homepage
  • fewensa/rtdlib-sys
    9 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • fewensa

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