Cargo Features

opentalk-types-common has no features set by default.

[dependencies]
opentalk-types-common = { version = "0.21.0", features = ["actix", "backend", "clap", "diesel", "frontend", "kustos", "rand", "redis", "serde", "utoipa"] }
actix = serde

Enables actix-http, actix-web-httpauth, and bytes

backend = diesel, rand, redis, serde, utoipa
clap

Enables clap

diesel backend? = serde

Enables diesel and opentalk-diesel-newtype

frontend = http

Enables opentalk-client-shared

kustos

Enables kustos-shared and opentalk-kustos-prefix

rand backend?

Enables rand, v4 of uuid

redis backend? = serde

Enables redis and redis-args

serde actix? backend? diesel? redis? utoipa?

Enables serde and serde_with, serde of chrono and chrono-tz ^0.9, serde of url and uuid

Affects one_or_many_btree_set::deserialize, one_or_many_btree_set::serialize, one_or_many_btree_set::one_or_many_btree_set_option, one_or_many_vec::deserialize, one_or_many_vec::serialize, one_or_many_vec::one_or_many_vec_option, utils::duration_seconds, utils::duration_seconds_option

utoipa backend? = serde

Enables serde_json and utoipa ^4

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

http frontend?