CoAkka Logger · 1.2.2 · Cargo
Use CoAkka Logger with Tauri
Install the package, read a record and check the result before connecting Logger to an application.
Beginner
Install the package
Use Cargo and the platform linker. The checksum-pinned source package includes a command-line exercise for the Rust side of a Tauri app.
#!/usr/bin/env bash
set -euo pipefail
archive=coakka-logger-tauri-intents-1.2.2-source.tar.gz
catalog=https://raw.githubusercontent.com/phuong-tran/coakka-publish/83edd3dcfffaf18ea905013da7872b7dbfd45e18
curl --fail --silent --show-error --location \
"$catalog/logger/tauri/releases/1.2.1%2Bf50756ebff0d-7718ce6/$archive" \
--output "$archive"
printf '%s %s\n' a4d642ed7be2658466ae32b5e3ed6e8a13382eff91b2f87cdad0b5cd127c000d "$archive" |
shasum -a 256 -c -
mkdir -p tauri-logger
tar -xzf "$archive" -C tauri-logger --strip-components=1
bash install.sh
Beginner
Read the first record
From the directory where the archive was unpacked, run its complete Rust example. It submits one intent, waits for the record and checks its sequence.
cargo run --manifest-path tauri-logger/examples/log-command/Cargo.toml
coakka_tauri_logger_package_smoke ok accepted=true sequence=1
Advanced
Integrate with the Rust app host
The Rust application owns the Logger handle. Expose a scoped Tauri command for the specific frontend action, validate the payload in Rust, and close Logger when the app exits. The command-line smoke checks the Rust boundary. WebView permissions and desktop packaging belong to the application integration.