score::mw::com - Rust APIs Tutorial#
This part contains the Rust API example and tutorial of score::mw::com (crate score_com), based on the Vehicle Monitor scenario.
The concepts (service orientation, proxies and skeletons, the LoLa binding) are explained in the C++ tutorial introduction. They apply to Rust unchanged. In the Rust API a proxy is called consumer and a skeleton is called producer.
Directory layout#
Path |
Purpose |
|---|---|
common/com-api-gen |
Service interface definitions created with the interface! macro, used by all chapters |
common/lib.rs |
Runtime and logging setup, type aliases |
common/etc |
mw_com_config.json and logging.json |
chapter_N |
Document and application of chapter N |
Tutorial chapters#
Follow the chapters in order. Later chapters build on earlier ones.