rakanalh / raiden.rs Goto Github PK
View Code? Open in Web Editor NEWThe unofficial Raiden client (Ethereum L2 scaling solution) implementation in Rust
License: MIT License
The unofficial Raiden client (Ethereum L2 scaling solution) implementation in Rust
License: MIT License
Hi @rakanalh, I hope you're doing well!
I tried using the raiden-rs prelude
and I hit an error. See my example below:
cargo init --name check
cargo add raiden-rs
$ cat src/main.rs
use raiden-rs::prelude::*;
fn main() {
println!("Hello, world!");
}
$ cat Cargo.toml
[package]
name = "check"
version = "0.1.0"
edition = "2021"
[dependencies]
raiden-rs = "0.1.0"
/tmp/check$ cargo build
Compiling raiden-blockchain v0.1.0
error[E0432]: unresolved import `ecies::SecpError`
--> /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/raiden-blockchain-0.1.0/src/keys.rs:3:9
|
3 | pub use ecies::SecpError;
| ^^^^^^^^^^^^^^^^ no `SecpError` in the root
For more information about this error, try `rustc --explain E0432`.
error: could not compile `raiden-blockchain` (lib) due to 1 previous error
merged into the
aes
crate
Details | |
---|---|
Status | unmaintained |
Package | aes-ctr |
Version | 0.3.0 |
URL | RustCrypto/block-ciphers#200 |
Date | 2021-04-29 |
The aes-ctr
crate has been merged into the aes
crate. The new repository
location is at:
<https://github.com/RustCrypto/block-ciphers/tree/master/aes>
The aes
crate now has an optional ctr
feature which autodetects SIMD
features on i686
/x86-64
targets and uses them if available, or otherwise
falls back to the implementation in the ctr
crate.
If you would prefer not to have this autodetection performed, use the aes
crate directly with the ctr
crate.
See advisory page for additional details.
merged into the
aes
crate
Details | |
---|---|
Status | unmaintained |
Package | aes-soft |
Version | 0.3.3 |
URL | RustCrypto/block-ciphers#200 |
Date | 2021-04-29 |
The aes-soft
crate has been merged into the aes
crate. The new repository
location is at:
<https://github.com/RustCrypto/block-ciphers/tree/master/aes>
AES-NI is now autodetected at runtime on i686
/x86-64
platforms.
If AES-NI is not present, the aes
crate will fallback to a constant-time
portable software implementation.
To force the use of a constant-time portable implementation on these platforms,
even if AES-NI is available, use the new force-soft
feature of the aes
crate to disable autodetection.
See advisory page for additional details.
crate has been renamed to
cipher
Details | |
---|---|
Status | unmaintained |
Package | stream-cipher |
Version | 0.3.2 |
URL | RustCrypto/traits#337 |
Date | 2020-10-15 |
This crate has been renamed from stream-cipher
to cipher
.
The new repository location is at:
<https://github.com/RustCrypto/traits/tree/master/cipher>
See advisory page for additional details.
dirs is unmaintained, use dirs-next instead
Details | |
---|---|
Status | unmaintained |
Package | dirs |
Version | 1.0.5 |
URL | https://github.com/dirs-dev/dirs-rs |
Date | 2020-10-16 |
The dirs
crate is not maintained any more;
use dirs-next
instead.
See advisory page for additional details.
Potential segfault in
localtime_r
invocations
Details | |
---|---|
Package | chrono |
Version | 0.4.19 |
URL | chronotope/chrono#499 |
Date | 2020-11-10 |
Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.
No workarounds are known.
See advisory page for additional details.
crate has been renamed to
block-cipher
Details | |
---|---|
Status | unmaintained |
Package | block-cipher-trait |
Version | 0.6.2 |
URL | RustCrypto/traits#139 |
Date | 2020-05-26 |
This crate has been renamed from block-cipher-trait
to block-cipher
.
The new repository location is at:
<https://github.com/RustCrypto/traits/tree/master/block-cipher>
See advisory page for additional details.
Use after free in lru crate
Details | |
---|---|
Package | lru |
Version | 0.6.6 |
URL | jeromefroe/lru-rs#120 |
Date | 2021-12-21 |
Patched versions | >=0.7.1 |
Lru crate has use after free vulnerability.
Lru crate has two functions for getting an iterator. Both iterators give
references to key and value. Calling specific functions, like pop(), will remove
and free the value, and but it's still possible to access the reference of value
which is already dropped causing use after free.
See advisory page for additional details.
Potential segfault in the time crate
Details | |
---|---|
Package | time |
Version | 0.1.43 |
URL | time-rs/time#293 |
Date | 2020-11-18 |
Patched versions | >=0.2.23 |
Unaffected versions | =0.2.0,=0.2.1,=0.2.2,=0.2.3,=0.2.4,=0.2.5,=0.2.6 |
Unix-like operating systems may segfault due to dereferencing a dangling pointer in specific circumstances. This requires an environment variable to be set in a different thread than the affected functions. This may occur without the user's knowledge, notably in a third-party library.
The affected functions from time 0.2.7 through 0.2.22 are:
time::UtcOffset::local_offset_at
time::UtcOffset::try_local_offset_at
time::UtcOffset::current_local_offset
time::UtcOffset::try_current_local_offset
time::OffsetDateTime::now_local
time::OffsetDateTime::try_now_local
The affected functions in time 0.1 (all versions) are:
at
at_utc
now
Non-Unix targets (including Windows and wasm) are unaffected.
Pending a proper fix, the internal method that determines the local offset has been modified to always return None
on the affected operating systems. This has the effect of returning an Err
on the try_*
methods and UTC
on the non-try_*
methods.
Users and library authors with time in their dependency tree should perform cargo update
, which will pull in the updated, unaffected code.
Users of time 0.1 do not have a patch and should upgrade to an unaffected version: time 0.2.23 or greater or the 0.3 series.
No workarounds are known.
See advisory page for additional details.
arr! macro erases lifetimes
Details | |
---|---|
Package | generic-array |
Version | 0.12.3 |
URL | fizyk20/generic-array#98 |
Date | 2020-04-09 |
Patched versions | >=0.14.0 |
Unaffected versions | <0.8.0 |
Affected versions of this crate allowed unsoundly extending
lifetimes using arr!
macro. This may result in a variety of
memory corruption scenarios, most likely use-after-free.
See advisory page for additional details.
merged into the
aes
crate
Details | |
---|---|
Status | unmaintained |
Package | aesni |
Version | 0.6.0 |
URL | RustCrypto/block-ciphers#200 |
Date | 2021-04-29 |
The aesni
crate has been merged into the aes
crate. The new repository
location is at:
<https://github.com/RustCrypto/block-ciphers/tree/master/aes>
AES-NI is now autodetected at runtime on i686
/x86-64
platforms.
If AES-NI is not present, the aes
crate will fallback to a constant-time
portable software implementation.
To prevent this fallback (and have absence of AES-NI result in an illegal
instruction crash instead), continue to pass the same RUSTFLAGS which were
previously required for the aesni
crate to compile:
RUSTFLAGS=-Ctarget-feature=+aes,+ssse3
See advisory page for additional details.
net2
crate has been deprecated; usesocket2
instead
Details | |
---|---|
Status | unmaintained |
Package | net2 |
Version | 0.2.37 |
URL | deprecrated/net2-rs@3350e38 |
Date | 2020-05-01 |
The net2
crate has been deprecated
and users are encouraged to considered socket2
instead.
See advisory page for additional details.
failure is officially deprecated/unmaintained
Details | |
---|---|
Status | unmaintained |
Package | failure |
Version | 0.1.8 |
URL | rust-lang-deprecated/failure#347 |
Date | 2020-05-02 |
The failure
crate is officially end-of-life: it has been marked as deprecated
by the former maintainer, who has announced that there will be no updates or
maintenance work on it going forward.
The following are some suggested actively developed alternatives to switch to:
See advisory page for additional details.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.