Cargo Features

[dependencies]
chilloutvr = { version = "0.4.0", default-features = false, features = ["http", "http_client", "ws", "ws_client", "debug"] }
default = http, ws

These default features are set whenever chilloutvr is added without default-features = false somewhere in the dependency tree.

http default http_client? = racal

Enable models that relate are used in HTTP requests

Affects assets::AssetTag, assets::AssetBase, assets::AssetBaseWithTags, assets::AssetBaseWithCategories, assets::AssetFile, assets::AvatarDetails, assets::AvatarAssetDetails, categories::Category, categories::Categories, featureds::FeaturedItem, instances::InstancePrivacy, instances::InstanceRegion, instances::InstanceDetails, instances::ExtendedInstanceDetails, instances::InstanceHost, instances::InstanceJoinResponse, model::ResponseDataWrapper, model::WsResponse, searches::SearchResultId, searches::SearchResult

http_client = async-trait, governor, http, reqwest

Enables http ^0.2 and reqwest of racal

API client specifics

Affects api_client::UnauthenticatedCVR, chilloutvr::api_client

ws default ws_client?

Enable models that are used in WS requests

Affects invites::InviteRequest, invites::Invite, invites::Invites, invites::InviteRequests, model::WsResponseData, users::UserOnlineStatusChange, users::OnlineUserStatusChanges, worlds::WorldDisplayDetails, friends::FriendRequest, friends::AcceptFriendRequest, friends::DeclineFriendRequest, friends::UnFriend, invites::Invite, invites::InviteRequest, invites::AcceptInviteRequest, invites::DeclineInviteRequest, invites::ExpireInvite, query::RequestType, query::Requestable, query::RequestWrapper

ws_client = async-trait, ezsockets, tokio, tokio-stream, tokio-tungstenite, ws

Enables http ^0.2

Affects chilloutvr::api_client

debug

By default we allows deserializing some things partially even with errors.
Like skipping array entries with errors, which is not wanted for tests though.

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.

racal http http_client?
governor http_client?

Enables governor ^0.5

tokio ws_client?
tokio-stream ws_client?
async-trait http_client? ws_client?
tokio-tungstenite ws_client?

Enables tokio-tungstenite ^0.18

Required to be defined by us since ezsockets doesn't expose a TLS feature

ezsockets ws_client?

Enables ezsockets ^0.5.1

reqwest http_client?

Enables reqwest ^0.11