11 unstable releases (4 breaking)

0.4.1 Jun 13, 2022
0.4.0 Mar 16, 2022
0.3.0 Mar 11, 2022
0.2.3 Jun 15, 2021
0.0.9 Dec 23, 2020

#245 in Rust patterns

Download history 1543/week @ 2022-08-13 2048/week @ 2022-08-20 1522/week @ 2022-08-27 2149/week @ 2022-09-03 1820/week @ 2022-09-10 1359/week @ 2022-09-17 1122/week @ 2022-09-24 1143/week @ 2022-10-01 1541/week @ 2022-10-08 1169/week @ 2022-10-15 1997/week @ 2022-10-22 1085/week @ 2022-10-29 1609/week @ 2022-11-05 1324/week @ 2022-11-12 1489/week @ 2022-11-19 2216/week @ 2022-11-26

6,682 downloads per month
Used in 2 crates (via sn_api)

MIT OR BSD-3-Clause

52KB
797 lines

JSON-RPC and QUIC

MaidSafe website Safe Dev Forum Safe Network Forum

Description

This crate provides the implementation of JSON-RPC over QUIC, which is required by the Authenticator daemon communication protocol.

This crate exposes a minimised set of functions which are used by other crates to implement the Authenticator daemon communication protocol. On one hand the sn_api makes use of it to be able to send JSON-RPC messages to the authd over QUIC, and on the other hand the sn_authd makes use of it to accept those requests from clients, generating and sending back a JSON-RPC response over QUIC. Please refer to the sn_authd README to see some examples of these types of requests/responses.

Further Help

You can discuss development-related questions on the Safe Dev Forum. If you are just starting to develop an application for the Safe Network, it's very advisable to visit the Safe Network Dev Hub where you will find a lot of relevant information.

License

This Safe Network library is dual-licensed under the Modified BSD (LICENSE-BSD https://opensource.org/licenses/BSD-3-Clause) or the MIT license (LICENSE-MIT https://opensource.org/licenses/MIT) at your option.

Contributing

Want to contribute? Great 🎉

There are many ways to give back to the project, whether it be writing new code, fixing bugs, or just reporting errors. All forms of contributions are encouraged!

For instructions on how to contribute, see our Guide to contributing.

Dependencies

~13–21MB
~473K SLoC