Skip to main content

the_bus_telemetry/
lib.rs

1//! This crate provides a client for The Bus Telemetry API.
2//! It fetches telemetry data from the game "The Bus" and maps it to common vehicle states.
3
4// This file exposes the modules used by both binary targets and integration tests
5pub mod api;
6pub mod api2vehicle;
7
8pub use api::ApiButton;
9pub use api::ApiLamps;
10pub use api::ApiVehicleType;
11pub use api::ApiWorldType;
12pub use api::RequestConfig;
13pub use api::get_current_vehicle_name;
14pub use api::get_vehicle;
15pub use api::get_world;
16pub use api::send_telemetry_bus_cmd;
17pub use api::get_telemetry_data;
18pub use api::get_button_by_name;
19
20pub use api2vehicle::get_vehicle_state_from_api;
21