Use RustCrypto instead of rust-crypto
newpavlov opened this issue · comments
As I see you only use SHA-2 and HMAC, so you don't need the whole rust-crypto
(moreover it's not developed anymore). Instead you can use crates from RustCrypto organization which is a modular rework of rust-crypto. In addition to smaller size, those crates are written in completely pure Rust.
Definitely a good idea, thanks :) I will send a PR in the week if I do not encounter any problem.
@hugues31
Feel free to ask any questions! Although I think HMAC section in the readme should be enough to start.
Thanks. I already made the transition for Kraken, I will finish later this afternoon :)