Cargo Features

moto-runtime has no features set by default.

[dependencies]
moto-runtime = { version = "0.2.6", features = ["rustc-dep-of-std", "rt-api"] }
rustc-dep-of-std = alloc, compiler_builtins, core

Enables rustc-dep-of-std of frusa, moto-ipc, and moto-sys

Affects moto-runtime::args, moto-runtime::env, moto-runtime::fs, moto-runtime::net, moto-runtime::net_async, moto-runtime::process, moto-runtime::std_rt, moto-runtime::stdio, moto-runtime::thread, moto-runtime::time, moto-runtime::tls, process::moturus_has_proc_data, moto-runtime::io_executor, moto-runtime::rt_api, moto-runtime::futex, moto-runtime::mutex, moto-runtime::util

rt-api = moto-ipc

Enables userspace of moto-sys

Affects moto-runtime::io_executor, moto-runtime::rt_api, moto-runtime::futex, moto-runtime::mutex, moto-runtime::util

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.

alloc rustc-dep-of-std?

Enables rustc-std-workspace-alloc

core rustc-dep-of-std?

Enables rustc-std-workspace-core

compiler_builtins rustc-dep-of-std?
moto-ipc rt-api? rustc-dep-of-std?
moto-sys rt-api? rustc-dep-of-std?
frusa rustc-dep-of-std?