Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove rustc-serialize #359

Closed
gnunicorn opened this issue Jul 23, 2018 · 2 comments
Closed

remove rustc-serialize #359

gnunicorn opened this issue Jul 23, 2018 · 2 comments

Comments

@gnunicorn
Copy link
Contributor

gnunicorn commented Jul 23, 2018

As the investigation of #358 showed, we still rely on the (long time) deprecated rustc-serialize-crate, primarily through the (also abandoned?) rust-crypto dependency.

There seem to be only a few reasonable to deal with this: replace rust-crypto alltogether, switch it over to a wasm-compatible fork like the one from buttercup or fork the project and maintain our own fork (as removing rustc-serialize doesn't seem to be too hard).

@dignifiedquire
Copy link
Member

Note: https://github.com/RustCrypto has pretty much all of the things from rust-crypto ported and updated

gnunicorn pushed a commit that referenced this issue Aug 10, 2018
* Replace rust-crypto dependency by RustCrypto project crate aes-ctr

* Support for x86 build supporting both aesni and aessoft at runtime.
Feature gated behind 'aes-all'.
Building requires RUSTFLAGS="-C target-feature=+aes,+ssse3" and RUSTDOCFLAGS="-C target-feature=+aes,+ssse3".
Only support x86 case.

* Change CI to build with aes ni on all-features

* Switch aes-all logic (is_x86 runtime test did not work as I thought when
RUSTC aes and sse are enabled).
To build with aes-all, aes and sse flag should not be set.

* Use latest aesni from crates.io (with pr to disable compile time
checks).

* Replace rust-crypto dependency by RustCrypto project crate aes-ctr

* Support for x86 build supporting both aesni and aessoft at runtime.
Feature gated behind 'aes-all'.
Building requires RUSTFLAGS="-C target-feature=+aes,+ssse3" and RUSTDOCFLAGS="-C target-feature=+aes,+ssse3".
Only support x86 case.

* Change CI to build with aes ni on all-features

* Switch aes-all logic (is_x86 runtime test did not work as I thought when
RUSTC aes and sse are enabled).
To build with aes-all, aes and sse flag should not be set.

* Use latest aesni from crates.io (with pr to disable compile time
checks).
tomaka added a commit to tomaka/libp2p-rs that referenced this issue Sep 7, 2018
tomaka added a commit that referenced this issue Sep 7, 2018
tomaka added a commit to tomaka/libp2p-rs that referenced this issue Sep 13, 2018
tomaka added a commit that referenced this issue Sep 17, 2018
@tomaka
Copy link
Member

tomaka commented Oct 12, 2018

Done in #386 and #477

@tomaka tomaka closed this as completed Oct 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants