android-emulator 0.2.0

A Rust library for spawning or discovering Android Emulators and controlling them via the gRPC controller protocol.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "android-emulator"
version = "0.2.0"
build = false
include = [
    "/README.md",
    "/LICENSE*",
    "/src/**",
    "/proto/**",
    "/examples/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for spawning or discovering Android Emulators and controlling them via the gRPC controller protocol."
documentation = "https://docs.rs/android-emulator"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-mobile/android-emulator-rs"
resolver = "2"

[lib]
name = "android_emulator"
path = "src/lib.rs"

[[example]]
name = "custom_auth"
path = "examples/custom_auth.rs"

[[example]]
name = "list_emulators"
path = "examples/list_emulators.rs"

[[example]]
name = "screenshot"
path = "examples/screenshot.rs"

[[example]]
name = "start_emulator"
path = "examples/start_emulator.rs"

[dependencies.adb_client]
version = "3.1"

[dependencies.base64]
version = "0.22"

[dependencies.dirs]
version = "5"

[dependencies.p256]
version = "0.13"
features = [
    "ecdsa",
    "pkcs8",
]

[dependencies.prost]
version = "0.14"

[dependencies.prost-types]
version = "0.14"

[dependencies.rand_core]
version = "0.6"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "time",
    "process",
    "io-util",
]

[dependencies.tonic]
version = "0.14"

[dependencies.tonic-prost]
version = "0.14"

[dependencies.tracing]
version = "0.1"

[dependencies.uuid]
version = "1"
features = ["v4"]

[dev-dependencies.console-subscriber]
version = "0.5"

[dev-dependencies.test-log]
version = "0.2"
features = ["trace"]

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "rt-multi-thread",
    "time",
    "macros",
    "process",
    "io-util",
]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "env-filter",
    "tracing-log",
]

[target."cfg(unix)".dependencies.libc]
version = "0.2"

[target."cfg(windows)".dependencies.win32job]
version = "2"

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_System_Threading",
    "Win32_System_Diagnostics_ToolHelp",
    "Win32_System_JobObjects",
]

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(tokio_unstable)"]