Cargo Features

yaaral has no features set by default.

[dependencies]
yaaral = { version = "0.5.0", features = ["bevy_runtime", "compat", "futures_runtime", "http", "json", "time", "tokio_runtime", "tokio"] }
bevy_runtime

Enables async-io and bevy_tasks ^0.17

Affects yaaral::bevy

compat

Enables async-compat

Affects extensions::compat

futures_runtime

Enables async-io, async-std, and futures

Affects yaaral::futures

http = anyhow, async-native-tls, http-body-util, hyper, reqwest, smol, smol-hyper

Enables bytes, futures and http, futures of ccutils

Affects extensions::http

json

Enables serde and serde_json

time

Enables futures

Affects extensions::time

tokio_runtime

Enables tokio

Affects yaaral::tokio

tokio

Enables tokio

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.

anyhow http?
async-native-tls http?
http-body-util http?
hyper http?
reqwest http?

Enables reqwest ^0.12

smol http?
smol-hyper http?