Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Send + Sync bounds #8

Merged
merged 1 commit into from
Oct 30, 2021
Merged

Conversation

cgwalters
Copy link

The original tar crate imposes no such requirement. And neither
does async_tar: https://docs.rs/async-tar/0.4.2/src/async_tar/archive.rs.html#27

In most cases in our test code we're working with owned values,
which will meet these bounds.

But I'm working on a library which does some dynamic computation of e.g.
compression or other things, and I don't want to impose Send + Sync
bounds across everything up the stack there.

The original `tar` crate imposes no such requirement.  And neither
does `async_tar`: https://docs.rs/async-tar/0.4.2/src/async_tar/archive.rs.html#27

In most cases in our test code we're working with owned values,
which will meet these bounds.

But I'm working on a library which does some dynamic computation of e.g.
compression or other things, and I don't want to impose `Send + Sync`
bounds across everything up the stack there.
@vorot93
Copy link
Owner

vorot93 commented Oct 30, 2021

Thanks!

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