| Crates.io | rtdlib-sys |
| lib.rs | rtdlib-sys |
| version | 0.1.0 |
| created_at | 2020-05-27 05:31:43.340812+00 |
| updated_at | 2020-05-27 05:31:43.340812+00 |
| description | td binding |
| homepage | https://github.com/fewensa/rtdlib-sys |
| repository | https://github.com/fewensa/rtdlib-sys |
| max_upload_size | |
| id | 246549 |
| size | 8,953 |
rtdlib-sys can call td for rust.
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.
export RUSTFLAGS="-C link-args=-Wl,-rpath,/path/to/lib_dir"
cargo run
MSVC
RUSTFLAGS=-C link-args=-LIBPATH:D:/path/to/lib_dir