tdjson-sys 0.1.5

TDLIB Json Client Rust FFI Bindings
docs.rs failed to build tdjson-sys-0.1.5
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.

TDLIB Json Client Rust FFI Bindings

Installing TDLIB

In order to generate bindings, tdjson-sys needs the TDLIB to be intalled on a developer's system.

Clone the tdlib repo and checkout the wanted version.

git clone git@github.com:tdlib/td.git
cd td
git checkout v1.1.0

Install dependencies and build the library as described in the README.md

Then, install the library, from the build directory created in the previous step. (as root)

cmake --build . --target install

Generate Bindings

After installing tdlib, just add tdjson-sys to your crate's dependencies

tdjson-sys = "0.1.3"

And let the Cargo do it's magic!

cargo build