Cargo Features

PresenceForge has no features set by default.

[dependencies]
presenceforge = { version = "0.1.0", features = ["secrets", "tokio-runtime", "async-std-runtime", "smol-runtime"] }
secrets

Rich Presence features

Affects types::Activity.secrets, types::ActivitySecrets

tokio-runtime = futures, tokio

Async runtimes

Affects async_io::tokio, retry::with_retry_async_tokio

async-std-runtime = async-std, blocking, futures

Affects async_io::async_std, retry::with_retry_async_std

smol-runtime = futures, smol

Affects async_io::smol, retry::with_retry_async_smol

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.

futures async-std-runtime? smol-runtime? tokio-runtime?
tokio tokio-runtime?

Enables tokio

Async runtime dependencies

async-std async-std-runtime?
smol smol-runtime?
blocking async-std-runtime?