It’s probably that ic_bls12_381
has some optional dependency that depends on the getrandom
crate.
In the example canister from Jack above, the crate only turns on the experimental
feature instead of turning on all default features.
Could you try if you can do the same thing in your project?
If the getrandom
dependency is inevitable, you can try the solution here.