Skip to content

Feature: mark Send and Sync on Toolbox trait#32

Merged
AdamStrojek merged 1 commit intoAdamStrojek:masterfrom
fvanzee:feature/send-sync-on-toolbox
Sep 10, 2025
Merged

Feature: mark Send and Sync on Toolbox trait#32
AdamStrojek merged 1 commit intoAdamStrojek:masterfrom
fvanzee:feature/send-sync-on-toolbox

Conversation

@fvanzee
Copy link
Copy Markdown
Contributor

@fvanzee fvanzee commented Aug 17, 2025

First of all, thank you for building this crate. It's coming is use for some hobby project I'm working on.

This small change marks the Toolbox trait safe for sending and sharing between threads.

I ran into this when trying to use an Agent in an axum API, which would not compile due to these markers missing.

Noticed that this was also already included in PR #24, but I got the feeling there's too many open remarks on there for it to get merged.

@AdamStrojek
Copy link
Copy Markdown
Owner

Thank you for your contribution. Yes, you are right, PR #24 is waiting to address the concerns I reported.

I'm currently not using my library in a multithreaded environment, but reviewing your change, it should be helpful for other developers.

Before merging this PR, please review the problems reported by CI.

@fvanzee fvanzee force-pushed the feature/send-sync-on-toolbox branch from fdc77a8 to dd9c24c Compare August 19, 2025 15:45
@AdamStrojek
Copy link
Copy Markdown
Owner

Please reformat your code using cargo fmt

@fvanzee fvanzee force-pushed the feature/send-sync-on-toolbox branch from dd9c24c to f44cf75 Compare August 19, 2025 20:05
@AdamStrojek AdamStrojek merged commit aba9207 into AdamStrojek:master Sep 10, 2025
13 of 16 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.

2 participants