Cargo Features

swift-bridge has no features set by default.

[dependencies]
swift-bridge = { version = "0.1.55", features = ["async"] }
async = once_cell, tokio

Enables bridging of async functions.

Affects swift-bridge::async_support

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.

tokio async?

Enables tokio

Optional features used for async function support.

once_cell async?