[package]
edition = "2021"
name = "maa-framework"
version = "1.0.1"
authors = ["MaaFramework Contributors"]
build = "build.rs"
exclude = [
"MaaFramework",
"install",
"download_plugins",
".github",
".vscode",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust bindings for MaaFramework"
homepage = "https://github.com/MaaXYZ/MaaFramework"
readme = "README.md"
keywords = [
"maa",
"automation",
"framework",
"binding",
]
categories = [
"api-bindings",
"development-tools",
]
license = "LGPL-3.0"
repository = "https://github.com/MaaXYZ/MaaFramework"
[features]
adb = []
custom = [
"custom_recognizer",
"custom_controller",
"custom_action",
"sync_context",
]
custom_action = ["sync_context"]
custom_controller = ["sync_context"]
custom_recognizer = ["sync_context"]
dbg = []
default = [
"toolkit",
"adb",
"win32",
"dbg",
"custom",
"internal",
]
image = ["dep:image"]
internal = []
sync_context = []
toolkit = []
win32 = []
[lib]
name = "maa_framework"
path = "src/lib.rs"
[[example]]
name = "main"
path = "examples/main.rs"
[[test]]
name = "agent_test"
path = "tests/agent_test.rs"
[[test]]
name = "binding_test"
path = "tests/binding_test.rs"
[[test]]
name = "common"
path = "tests/common.rs"
[[test]]
name = "pipeline_test"
path = "tests/pipeline_test.rs"
[dependencies.bitflags]
version = "2.4"
[dependencies.image]
version = "0.25"
optional = true
[dependencies.serde]
version = "^1.0"
features = ["derive"]
[dependencies.serde_json]
version = "^1.0"
[dependencies.thiserror]
version = "^1.0"
[build-dependencies.bindgen]
version = "0.69.4"