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

Transient implementations for foreign types #6

Open
JRRudy1 opened this issue Jun 27, 2024 · 0 comments
Open

Transient implementations for foreign types #6

JRRudy1 opened this issue Jun 27, 2024 · 0 comments

Comments

@JRRudy1
Copy link
Owner

JRRudy1 commented Jun 27, 2024

Using this crate requires types to implement the Transient trait, which must either be done in the transient crate or in the type's crate due to the orphan rule. This is obviously a problem for crates that want to use the Transient functionality for foreign types (though the new-type pattern can be used to get around this in many cases). This crate attempts to provide Transient implementations for many common standard library types, as well as those in a few third party crates, but this collection is far from exhaustive.

This Issue intends to track requests for new implementations and the progress in adding them. Feel free to comment here listing any desired implementations, and new Issue's or PR's are also welcome.

Note that this crate should stay light-weight with no hard dependencies, so implementations for any non-stdlib types will need to be feature-gated.

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

No branches or pull requests

1 participant