Skip to content
プロジェクト

概要

Rust & Python ADB (Android Debug Bridge) client library

開発ツール

この数値の測り方

計測したスター増加

24時間
0
7日間
-1
15日間
-1
1か月
履歴を収集中

期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。

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 !

関連プロジェクトを探す

読み込み中…