Files
Phoebe Goldman 6882232108 Add a mode to the Rust SDK with additional logging to a file (#4566)
# Description of Changes

In the Rust client SDK, with this PR, doing
`.with_debug_to_file("path.txt")` on the connection builder will result
in the SDK logging additional verbose info to `path.txt`.

# API and ABI breaking changes

Adds a new user-facing-ish API to the Rust client SDK.

# Expected complexity level and risk

2? Some possibility of deadlock due to adding a new mutex, but this is
explicitly not for production use.

# Testing

- [x] Ran `chat-console-rs` locally with this enabled and got some debug
logs out of it.
2026-03-11 20:28:08 +00:00
..
2025-08-22 19:36:47 +00:00

This test client is used with the module sdk-test.

It is invoked by a majority of the SDK tests, and is responsible for testing that serialization, deserialization, type dispatch, and client-side callbacks work as expected.

To (re-)generate the module_bindings, from this directory, run:

mkdir -p src/module_bindings
spacetime generate --lang rust --out-dir src/module_bindings --module-path ../../../../modules/sdk-test