Cargo Features

[dependencies]
maa-framework = { version = "0.5.0", default-features = false, features = ["toolkit", "adb", "win32", "dbg", "custom", "custom_recognizer", "custom_controller", "custom_action", "sync_context", "internal", "download", "tokio"] }
default = adb, custom, dbg, internal, toolkit, win32

These default features are set whenever maa-framework is added without default-features = false somewhere in the dependency tree.

toolkit default

Affects maa-framework::toolkit

adb default

Affects controller::adb, toolkit::AdbDeviceInfo

win32 default

Affects controller::win32

dbg default

Affects controller::dbg

custom default = custom_action, custom_controller, custom_recognizer, sync_context
custom_recognizer custom = sync_context

Affects custom::custom_recognizer

custom_controller custom = sync_context

Affects custom::custom_controller

custom_action custom = sync_context

Affects custom::custom_action

sync_context custom custom_action? custom_controller? custom_recognizer?

Affects maa-framework::sync_context

internal default

Affects maa-framework::internal

download

Features from optional dependencies

tokio implicit feature

Enables tokio

tokio:

An event-driven, non-blocking I/O platform for writing asynchronous I/O backed applications