Skip to main content

Crate cuqueclicker_lib

Crate cuqueclicker_lib 

Source
Expand description

Library crate for cuqueclicker.

Both targets (cuqueclicker binary on native, the wasm cdylib for the browser build via trunk) share these modules. Native-only modules (app, self_cmd) and web-only modules (wasm_app) are gated by cfg(target_arch = "wasm32").

platform/ is the cross-target abstraction: Persistence and InstanceLock are re-exported with the same struct/method shape on both sides, so caller code outside platform:: is portable.

Modules§

app
Native runner. Two threads:
build_info
format
game
i18n
input
Platform-agnostic input router.
platform
Platform abstraction layer.
save
Save persistence with versioned migration chain.
self_cmd
cuqueclicker self update — re-install the latest released version in place. How it does that depends on how this binary was built:
sim
Platform-agnostic simulation core.
ui