Cargo Features

[dependencies]
maa-framework = { version = "1.15.0", default-features = false, features = ["static", "dynamic", "toolkit", "adb", "win32", "custom", "custom_controller", "custom_action", "sync_context", "internal", "image"] }
default = adb, custom, internal, toolkit, win32

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

static

Enables static of maa-framework-sys

Explicit path so we can set default-features = false (workspace dep cannot override it).

dynamic

Enables dynamic of maa-framework-sys

Affects maa-framework::load_library, maa-framework::ensure_library_loaded

toolkit default

Enables toolkit of maa-framework-sys

adb default

Affects controller::AdbControllerBuilder

win32 default
custom default = custom_action, custom_controller, custom_recognizer, sync_context
custom_recognizer custom_controller custom = sync_context
custom_action custom = sync_context
sync_context custom custom_action? custom_controller? custom_recognizer?
internal default
image

Enables image