Third Party Dependencies

This document is about dependencies that are required to build applications using libtock-rs. These dependencies are not contained in the libtock-rs repository, but are used by libtock-rs when libtock-rs is used as a dependency of an application. Dependencies required to run libtock-rs' tests (such as make) are outside the scope of this document.

Unaudited Required Dependencies

libtock-rs has the following required build dependencies, none of which are currently audited:

  • The Rust toolchain, including cargo, rustc, and libcore. The specific toolchain version used is specified by the rust-toolchain file at the root of the repository.
  • syn, pulled in by libtock_codegen.
  • quote, pulled in by libtock_codegen.
  • proc-macro2, pulled in by libtock_codegen.

Avoiding Optional Dependencies

To avoid pulling in optional dependencies, users should use libtock_core instead of libtock. libtock_core is in the core/ directory.