arsc

Crates.ioarsc
lib.rsarsc
version0.1.5
sourcesrc
created_at2022-04-03 20:24:08.748544
updated_at2022-04-21 20:48:13.594471
descriptionAndroid resource file parsing & writing
homepagehttps://github.com/YaxinCheng/arsc
repositoryhttps://github.com/YaxinCheng/arsc
max_upload_size
id561627
size45,112
Yaxin Cheng (YaxinCheng)

documentation

README

arsc

arsc is a Rust library that provides the ability to parse and write Android resource file (arsc)

[dependencies]
arsc = "0.1"

Compiler support: rustc 1.59+

Example

use arsc::{parse, write};

fn main() -> std::io::Result<()> {
  let arsc = parse("/resources.arsc")?;
  let _ = write(&arsc, "/output.arsc")?;
  Ok(())
}

Getting Started

This section talks about how to compile the project

Prerequisites:

  • Rust 1.59 or above
  • Cargo
  • Git

Compile

cd SOME_DIR
git clone https://github.com/YaxinCheng/arsc.git
cd arsc
cargo build --release

Commit count: 32

cargo fmt