Skip to content
Proyectos

Acerca de

Rust & Python ADB (Android Debug Bridge) client library

Herramientas de desarrollo

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
Recopilando historial
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Android Debug Bridge (ADB) client implementation in pure Rust !

crates.io msrv ci status dependency status dependency status

Main features of this library:

  • Full Rust, don't use adb * shell commands to interact with devices
  • Supports
    • Using ADB server as a proxy (standard behavior when using adb CLI)
    • Connecting directly to end devices (without using adb-server)
      • Over USB
      • Over TCP/IP
      • With multiplexing support (multiple commands simultaneously)
  • Implements hidden adb features, like framebuffer
  • Highly configurable
  • Provides wrappers to use directly from Python code
  • Easy to use !

adb_client

Rust library implementing both ADB protocols (server and end-devices) and providing a high-level abstraction over the many supported commands.

Improved documentation available here.

examples

Some examples showing of to use this library are available in the examples directory:

  • examples/mdns: mDNS device discovery
  • examples/sessions: runs sleep 30, a file push and id at the same time on one USB device, each in its own session
  • examples/forward_reverse: exposes a host server on a device port (reverse), then this device port on a host port (forward), and checks data goes through both ways over USB
  • examples/python_api: demonstrates the use of Python API

adb_cli

Rust binary providing an improved version of Google's official adb CLI, by using adb_client library. Provides a "real-world" usage example of this library.

Improved documentation available here.

pyadb_client

Python wrapper using adb_client library to export classes usable directly from a Python environment.

Improved documentation available here

Related publications

Some features may still be missing, all pull requests are welcome !

Explorar proyectos relacionados

Cargando…