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

Make subxt-codegen and subxt-macro usable in no-std context. #1479

Open
tadeohepperle opened this issue Mar 14, 2024 · 1 comment
Open

Make subxt-codegen and subxt-macro usable in no-std context. #1479

tadeohepperle opened this issue Mar 14, 2024 · 1 comment

Comments

@tadeohepperle
Copy link
Contributor

Currently the codegen and the macro crate refer to subxt for certain type paths, even though all of them should be available in subxt-core. It would be nice to demonstrate that the subxt-macro can be used to generate a static interface in a no-std context, that can be used to e.g. look up constants.

@jsdw
Copy link
Collaborator

jsdw commented May 15, 2024

I think this is all done and working now, but would be nice to verify it! Perhaps have a go at writing a little example crate in subxt/examples which uses subxt-core, subxt-signer and the #[subxt] macro with #[no_std], and can eg construct and sign some transaction?

Then add CI to check that we can compile this in subxt/.github/rust.yml.

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