Skip to content

[rust] Implement typed core parity and async semantics#8

Merged
guilyx merged 2 commits intomainfrom
feat/rust-core-parity
Mar 13, 2026
Merged

[rust] Implement typed core parity and async semantics#8
guilyx merged 2 commits intomainfrom
feat/rust-core-parity

Conversation

@guilyx
Copy link
Owner

@guilyx guilyx commented Mar 13, 2026

Summary

  • refactor Rust SDK into modular crate units (client, types, errors, provider) with explicit public exports
  • add parity-oriented model types (FinishReason, Usage, ToolDefinition, ToolCall, Event) and client entrypoints (run_default, run_events)
  • keep idiomatic Rust trait-based provider abstraction while aligning behavior with shared contract semantics

Test plan

  • cd sdk/rust && cargo fmt --all && cargo test
  • uvx pre-commit run --files sdk/rust/src/lib.rs sdk/rust/src/client.rs sdk/rust/src/errors.rs sdk/rust/src/provider.rs sdk/rust/src/types.rs sdk/rust/README.md sdk/rust/CHANGELOG.md CHANGELOG.md

This refactors the Rust crate into explicit modules and adds parity-oriented models and client entrypoints for default execution and event-capable flows.
@guilyx guilyx merged commit bbc28c5 into main Mar 13, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant