penumbra-zone / poseidon377

An instantiation of the Poseidon hash for use with decaf377
https://protocol.penumbra.zone/main/crypto/poseidon.html
Other
28 stars 10 forks source link

Enable poseidon in `no-std` environment #34

Closed pmikolajczyk41 closed 1 year ago

pmikolajczyk41 commented 1 year ago

This PR enables every crate to be used in no-std environment.

Now both commands should work fine:

cargo build
cargo build --no-default-features --target wasm32-unknown-unknown