[package]
edition = "2024"
rust-version = "1.95"
name = "mobile-agent-android"
version = "0.1.0-alpha.1"
build = "build.rs"
publish = ["crates-io"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "mobile-agent's Android driver: the adb client, the agent's deploy and session, and the emulator's gRPC controller"
readme = "README.md"
license = "MIT"
repository = "https://github.com/gesposito/mobile-agent"
[lib]
name = "android"
path = "src/lib.rs"
bench = false
[[test]]
name = "adb_device"
path = "tests/adb_device.rs"
[[test]]
name = "agent_deploy"
path = "tests/agent_deploy.rs"
[[test]]
name = "agent_session"
path = "tests/agent_session.rs"
[[test]]
name = "emulator_controller"
path = "tests/emulator_controller.rs"
[[test]]
name = "emulator_paths"
path = "tests/emulator_paths.rs"
[[test]]
name = "frame_timing"
path = "tests/frame_timing.rs"
[[test]]
name = "measure"
path = "tests/measure.rs"
[[bench]]
name = "frames"
path = "benches/frames.rs"
harness = false
[dependencies.jpeg-encoder]
version = "0.7.1"
[dependencies.mobile-agent-mirror]
version = "0.1.0-alpha.1"
[dependencies.mobile-agent-protocol]
version = "0.1.0-alpha.1"
[dependencies.prost]
version = "0.14.4"
[dependencies.tokio]
version = "1.53.1"
features = [
"rt-multi-thread",
"time",
]
[dependencies.tonic]
version = "0.14.6"
features = [
"channel",
"codegen",
]
default-features = false
[dependencies.tonic-prost]
version = "0.14.6"
[dependencies.xxhash-rust]
version = "0.8.18"
features = ["xxh3"]
[dev-dependencies.criterion]
version = "0.8.2"
default-features = false
[dev-dependencies.miniz_oxide]
version = "0.9.1"
[dev-dependencies.tokio]
version = "1.53.1"
features = [
"macros",
"rt-multi-thread",
"net",
"time",
]
[build-dependencies.protoc-bin-vendored]
version = "3.2.0"
[build-dependencies.tonic-prost-build]
version = "0.14.6"
[lints.clippy.all]
level = "warn"
priority = -2
[lints.clippy.correctness]
level = "deny"
priority = -1
[lints.rust]
unsafe_op_in_unsafe_fn = "deny"