You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far ts-rs is really great for helping keep my backend and frontend in sync, but not supporting non-'static lifetimes is a big limiter for my higher performance uses, where I really don't want copies in serde. Is there an ETA on this feature?
Thanks again for creating a great crate, by the way.
-Peter
The text was updated successfully, but these errors were encountered:
I'd love input if this is even remotely a reasonable way to get ts-rs to support non-'static lifetimes. All of the existing tests pass, and in addition the above example also successfully compiles.
I see in the docs a todo labeled "don’t require 'static". I assume this is getting at how:
fails unless we add the constraint
'a: 'static
.So far ts-rs is really great for helping keep my backend and frontend in sync, but not supporting non-
'static
lifetimes is a big limiter for my higher performance uses, where I really don't want copies in serde. Is there an ETA on this feature?Thanks again for creating a great crate, by the way.
-Peter
The text was updated successfully, but these errors were encountered: