cspr-rad / kairos

Apache License 2.0
2 stars 0 forks source link

`kairos-crypto` - split trait and introduce `no_std` support #123

Closed koxu1996 closed 2 months ago

koxu1996 commented 2 months ago

This PR moves feature-gated parts of trait CryptoSigner into separate traits:

Additionally no_std support is introduced - https://github.com/cspr-rad/kairos/pull/123/commits/4684d4fdb2c066179cc6008aba1f56e2d02d8a10.

Closes #86.

koxu1996 commented 2 months ago

I confirmed it works for environments without std:

rustup target add thumbv7m-none-eabi
cargo build -p kairos-crypto --no-default-features --features crypto-casper --target thumbv7m-none-eabi