API

This chapter provides information about the motorcortex-rust API.

Cargo, which is the Rust package manager, is used to manage Rust projects and their dependencies. It also includes a command to automatically create a documentation website for your project and its dependencies. Thus, to generate the documentation for motorcortex-rust, you can use the following command in your terminal in the root directory of your Rust project that includes motorcortex-rust as a dependency:

cargo doc --open
Example

alt text