-
Notifications
You must be signed in to change notification settings - Fork 123
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
Investigate: What dependencies should be made optional #507
Comments
Could look similar to staking xt: substrate-api-client/Cargo.toml Line 87 in 10084fa
|
Should also include:
|
For following crates take the longest to compile: wasmparser, wasmtime, wasmparser-nostd, sp-state-machine and wasmi |
If I am not mistaken, they are exclusively used by the pallet-contracts. |
Unfortunately |
Hmm, I see. However, we did not have these dependencies before in the worker: https://github.com/integritee-network/worker/pull/1263/files Which intrigues me now. |
Oh, that is interesting indeed. I will do a bit more digging as it would be nice to get rid of them not only for compilation time but also to allow better wasm support. |
Cool, sounds great! |
@clangenb Hmm, I checked and most of the dependencies are not really new if I look at: |
Nice, this is what happens: https://github.com/integritee-network/worker/pull/1271/files. So nothing regarding the wasm stuff, but still a nice side-effect. Yeah, I only checked the diff I must admit, sorry for that. :) |
Great. I was not really expecting to see changes regarding wasm, but at least one of the rustls dependencies is gone 👍 |
Like contracts, staking and rustls stuff.
This will remove quite some dependencies in case they are not needed.
The text was updated successfully, but these errors were encountered: