Skip to main content

Crate xcrs

Crate xcrs 

Source

Modules§

mcp
Cross-platform automation MCP contract.

Macros§

xcrs_mcp_tools

Structs§

AndroidDebugBridge
AndroidDevice
AndroidKit
Client for an XCRS AndroidKit instrumentation runner forwarded over adb.
BuildControlKitDeviceRunner
BuildIosApp
ControlKit
Devicectl
HostColorRun
A stretch of one color along a probed line, half open in caller units.
HostCropRequest
HostCropResult
HostInspect
Client for the xcrs-host-inspect helper, which reads the macOS host on behalf of XCRS control runs: on-screen windows, image pixels, and text.
HostInspectImage
The image a result was read from, in both pixels and caller units.
HostInspectInvocation
What one xcrs-host-inspect run wrote, whether or not it succeeded.
HostInspectRect
A rectangle in caller units. Rows run top down and columns left to right, matching the rest of XCRS.
HostInspectScale
Converts between the units a caller reasons about and image pixels.
HostOcrRequest
HostOcrResult
HostProbeRequest
HostProbeResult
HostRecognizedText
One recognized text box, ordered top to bottom and then left to right.
HostWindow
An on-screen window in the global display space.
HostWindowList
IosAppTest
IosAppTestResult
NormalizedDevice
A device entry normalized across Apple simulators and Android devices/emulators for the cross-platform device_list tool.
RunningControlKitDeviceRunner
Simctl
Simulator
StartControlKitDeviceRunner
XcodeCommandLineTools
Xcodebuild

Enums§

ApplePlatform
DeviceKind
The kind of device a normalized device_list entry represents. Apple physical devices are not represented here: this crate has no reliable Apple device-discovery command, so only Apple simulators are ever listed.
DevicePlatform
The automation platform a normalized device_list entry belongs to.
HostProbeAxis
XcodeProject

Functions§

encode_base64
extract_androidkit_elements
Normalize actionable AndroidKit nodes into the public element-list shape.
extract_controlkit_elements
parse_simctl_devices