Hello Rust

This example shows how to use Kanzi Rust API to implement application logic and create a data source plugin.

You can find the example in <KanziWorkspace>/Engine/plugins/rust/examples/hello_rust.

Content of the example

The example contains:

  1. A Kanzi application that implements a cluster.

  2. The rust_lib module with a Rust library that uses Kanzi Rust API to blink the left turn indicator on the cluster.

  3. The xml_plugin module that implements a data source Kanzi engine plugin using Kanzi Rust API.

Running the example

To run the example:

  1. In Visual Studio Code, open the folder <KanziWorkspace>/Engine/plugins/rust/examples/hello_rust.

  2. To build and run the application, press F5.