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

Cooperatively working with "async-recursion" crate #1

Closed
Tarbetu opened this issue Feb 28, 2024 · 1 comment
Closed

Cooperatively working with "async-recursion" crate #1

Tarbetu opened this issue Feb 28, 2024 · 1 comment

Comments

@Tarbetu
Copy link

Tarbetu commented Feb 28, 2024

Hi!

I like this project, however I have to say that requirement for "async" also brings the need for async-recursion crate because the recursion in async functions are forbidden by the compiler.

"Ctx" also needs a lifetime declaration, and it complicates the situations with this crate.

You might provide more documentation for possibly pitfalls and caveats while using "async-recursion"

Thank you.

@DelSkayn
Copy link
Owner

DelSkayn commented Feb 28, 2024

It does indeed currently require async-recursion crate but in the upcoming beta version 1.77 the restriction which forces you to use async-recursion will be lifted. So this PR.

I had locally already changed the minimal supported rust version to 1.77 but I see I haven't yet pushed that change.

Note that this is still a very much in development library so expect some cruft here and there.

@Tarbetu Tarbetu closed this as completed Feb 29, 2024
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

2 participants