28 releases (15 breaking)
new 0.25.0 | Oct 30, 2024 |
---|---|
0.20.0 | Sep 20, 2024 |
0.17.0-rc.1 | Jul 19, 2024 |
0.12.0-alpha | Mar 18, 2024 |
0.0.0 | Feb 8, 2023 |
#680 in Database interfaces
2,845 downloads per month
425KB
9K
SLoC
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.
lib.rs
:
Data types for OpenTalk.
This crate contains all data types that are used in the OpenTalk web and signaling APIs.
Features
default
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
backend
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
frontend
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
.
diesel
Adds Diesel type mappings to simple newtypes, so they can be stored in a database through the ORM.
Depends on:
serde
redis
Implements Redis ToRedisArgs
and FromRedisValue
for types that can be stored on a redis server.
Depends on:
serde
kustos
Annotates identifier newtypes with a kustos resource implementation.
rand
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.
serde
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.
Dependencies
~7–27MB
~393K SLoC