31 releases (18 breaking)
new 0.28.0 | Dec 12, 2024 |
---|---|
0.27.0 | Nov 20, 2024 |
0.26.0 | Nov 18, 2024 |
0.17.0-rc.1 | Jul 19, 2024 |
0.0.0 | Feb 8, 2023 |
#948 in Database interfaces
1,651 downloads per month
76KB
1.5K
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
~8–29MB
~403K SLoC