#revolt #rive #revolt-api #api-bindings

rive-gateway

Revolt WebSocket API implementaion for the Rive ecosystem

4 releases (2 stable)

1.1.0 Sep 9, 2023
1.0.0 Jun 21, 2023
0.1.1 Apr 12, 2023
0.1.0 Apr 12, 2023

#397 in WebSocket

Download history 1/week @ 2024-11-13 4/week @ 2024-11-20 11/week @ 2024-11-27 12/week @ 2024-12-04 31/week @ 2024-12-11 7/week @ 2024-12-18 5/week @ 2025-01-08 13/week @ 2025-01-15 13/week @ 2025-01-22 15/week @ 2025-02-05 33/week @ 2025-02-12 12/week @ 2025-02-26

60 downloads per month
Used in rive

LGPL-2.1-or-later

105KB
2K SLoC

rive-gateway

A client for the Revolt WebSocket API.

It is used for the Rive crates ecosystem and is built on top of it. See the rive documentation for more information.

Features

  • native-tls (default): enables TLS support via native-tls.
  • rustls-tls-native-roots: enables TLS support via rustls with native root certificates.
  • rustls-tls-webpki-roots: enables TLS support via rustls with root certificates from webpki-roots.

Note: if the self-hosted Revolt instance does not use a wss:// connection, then you can disable TLS support by disabling the default features:

[dependencies]
rive-gateway = { version = "1", default-features = false }

The official instance is WSS only.

Dependencies

~8–21MB
~326K SLoC