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:
A Kanzi application that implements a cluster.
The
rust_libmodule with a Rust library that uses Kanzi Rust API to blink the left turn indicator on the cluster.The
xml_pluginmodule that implements a data source Kanzi engine plugin using Kanzi Rust API.
Running the example¶
To run the example:
In Visual Studio Code, open the folder
<KanziWorkspace>/Engine/plugins/rust/examples/hello_rust.To build and run the application, press F5.