Skip to content

TheParmak/adb-rust

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

adb-rust

a simple adb implementation for rust

example usage with dynamic path variable:

mod adb;
use adb::adb as adb;

fn main() {
	adb("shell bu help", "bin/adb");
}

example usage with static path variable:

mod adb_static_path;
use adb_static_path::adb_static_path as adb;

fn main() {
	adb("shell bu help");
}

adb_static_path.rs:

...
let adb_path = "bin/adb"; //set your adb path here
...

file structure:

├── adb.rs //adb-rust code
├── adb_static_path.rs //adb-rust code but it doesn't take an adb_path variable instead you set it statically in the file
├── bin //bin folder
│   └── adb //adb stand-alone binary
├── LICENSE //License file
├── README.md //Readme file
└── main.rs //example code

Working on a better implementation of this.

About

a simple adb implemantation for rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages