Skip to content

Conversation

@TheRustifyer
Copy link
Member

Created the #[canyon] macro, that rewrites the code inside the main function.

Avoids the user to specify the async modifier, and to invoke the proc-macro #[tokio::main], now it's wired by `#[canyon] automatically.

It's been setted up the macro's crate to allow the creation of a new macro that will registers the structures managed by Canyon on a global namespace, allowing Canyon to know what data it has to care about in it's complete lifecycle

@TheRustifyer TheRustifyer added the enhancement New feature or request label Mar 1, 2022
@TheRustifyer TheRustifyer requested a review from gbm25 March 1, 2022 13:38
@TheRustifyer TheRustifyer self-assigned this Mar 1, 2022
@TheRustifyer TheRustifyer merged commit 80859e6 into main Mar 8, 2022
@gbm25 gbm25 deleted the managed_state branch March 17, 2022 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants