Setting up environment for Kanzi Rust API¶
Before you can use Kanzi Rust API in your Kanzi application, you must install and configure:
Rust toolchain 1.83.0 or newer. See https://www.rust-lang.org/tools/install.
Create new Rust based project in Kanzi Studio¶
In the Kanzi Studio New Project window:
Set Template to:
Application with Rust API to create a Kanzi application with the application logic written in Rust language.
Application with Rust plugin to create a Kanzi application with the Kanzi data source plugin written in Rust language.
Click Create.
Kanzi Studio creates a project with the application code boilerplate written in linked extendable C++ and Rust parts.
See how to Build a Kanzi Rust application or Build a Kanzi Engine Rust plugin.
Kanzi Rust API application templates also come with ready-made Visual Studio Code launch and task configs.