Skip to main content

Crate sim_lib_auto_core

Crate sim_lib_auto_core 

Source
Expand description

Automotive domain citizens, capability names, and loadable runtime exports.

The crate keeps automotive concepts as open runtime data: identities, lanes, effect classes, operation capabilities, transports, and site manifests are citizens that round-trip through the shared read-construct path. The kernel carries only generic library, capability, and citizen contracts.

Re-exports§

pub use flash::ModeledFlashSession;
pub use flash::StockMapBackup;
pub use flash::stock_content_key;
pub use manifest::AutoLane;
pub use manifest::BrandCaps;
pub use manifest::Dtc;
pub use manifest::DtcStatus;
pub use manifest::EffectClass;
pub use manifest::OpCap;
pub use manifest::SiteManifest;
pub use manifest::TransportSpec;
pub use manifest::VehicleId;
pub use manifest::auto_lane;
pub use manifest::control_effect;
pub use manifest::diagnostic_effect;
pub use manifest::diagnostic_lane;
pub use manifest::manifest_lane;
pub use manifest::telemetry_lane;
pub use select::BrandNeed;
pub use select::BrandSelection;
pub use select::installed_brand_caps;
pub use select::select_brand;
pub use select::select_brand_caps;
pub use session::AutoSession;
pub use session::TransportPlacement;

Modules§

flash
Modeled ECU flash backup and restore helpers.
manifest
Automotive citizens used by core manifests and transport descriptors.
select
Brand and site selection over open automotive manifest data.
session
Automotive session descriptors shared by diagnostic fabric libraries.

Structs§

AutoCoreLib
Loadable library that contributes SIM automotive core citizens and values.

Constants§

AUTO_CONTROL_EXEC
Execute access for vehicle-control effects.
AUTO_DIAGNOSTICS_READ
Read access to modeled diagnostic values and decoded trouble codes.
AUTO_FLASH
Read and write access for modeled ECU stock maps and flash payloads.
AUTO_MANIFEST_READ
Read access to automotive site manifests.
AUTO_ORDER
Place or revise supplier orders for automotive parts.
AUTO_SERVICE_WRITE
Write access for shop-side service records and procedures.
AUTO_TELEMETRY_READ
Read access to modeled vehicle telemetry.
AUTO_TRANSPORT_CONNECT
Connect access for automotive transport endpoints.

Functions§

auto_capability_names
Returns the stable automotive capability names.
auto_capability_texts
Returns the stable automotive capability strings.
auto_caps_symbol
Symbol for the exported automotive capability list.
auto_citizen_registry
Returns the inventory rows for automotive core citizens.
auto_citizen_symbols
Returns the automotive citizen symbols exported by the core library.
auto_lanes_symbol
Symbol for the exported automotive lane list.
install_auto_core_lib
Installs the automotive core library into a context once.
manifest_shape_symbol
Symbol for the exported automotive manifest shape descriptor.
read_construct_expr
Builds a citizen/read-construct extension from a class symbol and arguments.
text_read_construct_expr
Builds a citizen/read-construct extension from class text and arguments.
vehicle_read_construct
Builds the explicit read-construct expression for a modeled vehicle id.