Skip to content

Use crates from RustCrypto organization and remove rust-crypto crate.#517

Closed
jeandudey wants to merge 1 commit into
paritytech:masterfrom
jeandudey:2018-08-07-rust-crypto
Closed

Use crates from RustCrypto organization and remove rust-crypto crate.#517
jeandudey wants to merge 1 commit into
paritytech:masterfrom
jeandudey:2018-08-07-rust-crypto

Conversation

@jeandudey
Copy link
Copy Markdown
Contributor

No description provided.

@parity-cla-bot
Copy link
Copy Markdown

It looks like @jeandudey signed our Contributor License Agreement. 👍

Many thanks,

Parity Technologies CLA Bot

Comment thread crypto/src/lib.rs Outdated
use siphasher::sip::SipHasher24;
use primitives::hash::{H32, H160, H256};

pub use digest::Digest;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like pub use is not really required here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@svyatonik chain depends on Digest being re-exported by bitcrypto, also it's a common pattern in RustCrypto crates to re-export the Digest trait.

Copy link
Copy Markdown
Contributor

@svyatonik svyatonik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Seems good, except for tiny grumble. But could you please use tabs instead of spaces in the Rust code?

@debris Could you please also review?

@svyatonik svyatonik added the A5-grumble Pull request has minor issues that must be addressed before merging. label Aug 8, 2018
@debris
Copy link
Copy Markdown
Contributor

debris commented Aug 8, 2018

I have pretty much the same concerns as here: paritytech/parity-common#14 (review)

I think we should all talk internally whether we want to commit to RustCrypto, before accepting these prs :)

@svyatonik svyatonik added the A1-onice Pull request is reviewed well, but should not yet be merged. label Aug 8, 2018
@jeandudey jeandudey force-pushed the 2018-08-07-rust-crypto branch from b5b07c4 to ab86346 Compare August 8, 2018 14:48
Signed-off-by: Jean Pierre Dudey <jeandudey@hotmail.com>
@jeandudey jeandudey force-pushed the 2018-08-07-rust-crypto branch from ab86346 to d9adc0b Compare August 8, 2018 16:11
@svyatonik svyatonik removed the A5-grumble Pull request has minor issues that must be addressed before merging. label Aug 9, 2018
Copy link
Copy Markdown

@mkjekk mkjekk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jeandudey
Copy link
Copy Markdown
Contributor Author

@mkjekk I'm sorry, what's that?

@jeandudey
Copy link
Copy Markdown
Contributor Author

Closing due to lost of interest

@jeandudey jeandudey closed this Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A1-onice Pull request is reviewed well, but should not yet be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants