12 releases (6 breaking)

0.13.0-alpha Apr 9, 2024
0.12.0-alpha Mar 18, 2024
0.11.0 Apr 9, 2024
0.0.0 Feb 8, 2023

#830 in Database interfaces

Download history 99/week @ 2024-01-20 125/week @ 2024-01-27 68/week @ 2024-02-10 240/week @ 2024-02-17 156/week @ 2024-02-24 10/week @ 2024-03-02 41/week @ 2024-03-09 266/week @ 2024-03-16 175/week @ 2024-03-23 342/week @ 2024-03-30 282/week @ 2024-04-06 120/week @ 2024-04-13 211/week @ 2024-04-20 209/week @ 2024-04-27 146/week @ 2024-05-04

698 downloads per month



OpenTalk Types

This crate contains datatypes used in the Rest API and WebSockets signaling API of OpenTalk.

⚠️ At this point no guarantees for backwards compatibility can be given.


Data types for OpenTalk.

This crate contains all data types that are used in the OpenTalk web and signaling APIs.



This is the "easy" way to use this crate, unless you need specific functionalities for the backend, then you should use the backend feature instead.

Depends on:

  • frontend


Set the backend feature for using the types anywhere in the backend (e.g., a signaling module, the OpenTalk controller implementation, the OpenTalk room server).

Depends on:

  • diesel
  • redis
  • kustos
  • serde
  • rand


Set the frontend feature for using the types in a client. Because the default feature depends on this, you probably don't need to set it explicitly, unless you have set default-features = false.


Adds Diesel type mappings to simple newtypes, so they can be stored in a database through the ORM.

Depends on:

  • serde


Implements Redis ToRedisArgs and FromRedisValue for types that can be stored on a redis server.

Depends on:

  • serde


Annotates identifier newtypes with a kustos resource implementation.


Some functions for generating values from random numbers are gated by this flag. These are typically used on the backend for creating new identifiers or tokens.


Derives serde::Serialize and serde::Deserialize for all types that can be serialized or deserialized for usage in the web and signaling APIs as well as Diesel and Redis.


~429K SLoC