Cargo Features

[dependencies]
tea-actorx2 = { version = "0.3.0-dev.1", default-features = false, features = ["sdk", "worker", "sign", "sign-bin", "host", "wasm", "llvm", "track"] }
default = sdk

The sdk feature is set by default whenever tea-actorx2 is added without default-features = false somewhere in the dependency tree.

sdk default host? wasm?
worker llvm? = sign, tokio, wasmer, wasmer-middlewares

Enables io-util, net, parking_lot, sync and time of tokio

Affects core::wasm, tea-actorx2::worker, worker_codec::WORKER_UNIX_SOCKET_FD, worker_codec::OpCode, worker_codec::OperationAbi, worker_codec::read_var_bytes, worker_codec::write_var_bytes, core::worker_codec

Required by the worker binary

sign sign-bin? worker? = base64, leb128, openssl, serde_yaml, zstd

Affects core::sign, tea-actorx2::sign

sign-bin = clap, sign, tokio

Required by the sign binary

host = command-fds, sdk, tokio, tokio-util

Enables io-util, net, parking_lot, process, sync and time of tokio

Affects worker_codec::WORKER_UNIX_SOCKET_FD, worker_codec::OpCode, worker_codec::read_var_bytes, worker_codec::write_var_bytes, sdk::context, sdk::invoke, core::worker_codec

wasm = futures, sdk

Affects worker_codec::OperationAbi, sdk::context, sdk::invoke, core::worker_codec

llvm = worker

Enables llvm of wasmer ^3.1.1

track

Affects context::tracker, wasm::tracker

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 host? sign-bin? worker?
command-fds host?

Enables command-fds ^0.2.2

tokio-util host?
futures wasm?
base64 sign?

Enables base64 ^0.13.1

serde_yaml sign?
clap sign-bin?
openssl sign?
leb128 sign?
zstd sign?

Enables zstd ^0.12.3

wasmer llvm? worker?

Enables wasmer ^3.1.1

wasmer-middlewares worker?

Enables wasmer-middlewares ^3.1.1