urkellabs / brontide Goto Github PK
View Code? Open in Web Editor NEWA Rust implementation of the Handshake and Lightning Network secure messaging protocol - based on Noise.
License: Other
A Rust implementation of the Handshake and Lightning Network secure messaging protocol - based on Noise.
License: Other
According to Rust Forge: https://forge.rust-lang.org, Rust 1.36 will be out in 3 days.
At that point, our feature "Stream" will work on beta instead of just nightly. We should adjust our CI accordingly so that we are testing the stream feature on beta and nightly.
Additionally, we can probably turn allow fail nightly back on since we don't absolutely depend on it for the stream feature anymore.
right now we rely on the helper function of read_message to parse the next message in the brontide stream. I believe, that we could actually implement the same functionality into the stream trait, so that just polling the stream will return when the entire message is ready to be read, and not just potentially the header.
net2
crate has been deprecated; usesocket2
instead
Details | |
---|---|
Status | unmaintained |
Package | net2 |
Version | 0.2.34 |
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.
We now enabled async-std unstable (for racing), and so we are able to use the Stream timeout trait function.
This allows us to remove the double ?? on the timeout functions.
https://noiseprotocol.org/noise.html#security-considerations Check all of these
Our errors are fine for right now, but I think we can make them a lot easier to parse by breaking them into a few separate enums.
It would be good to have an enum for Act Errors, as well as one for Packet errors. We should probably just remove the Strings that are nested inside of them as well, as the error explains itself quite good enough.
Rust currently does not allow the ? shorthand to be used on options for our errors to catch NoneError. Once this following RFC is merged in: rust-lang/rust#42327, we will be able to replace our ok_or statements w/ just a simple ?.
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.