Skip to content
프로젝트

소개

Rust & Python ADB (Android Debug Bridge) client library

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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 !

관련 프로젝트 살펴보기

불러오는 중…