Crates.io | arsc |
lib.rs | arsc |
version | 0.1.5 |
source | src |
created_at | 2022-04-03 20:24:08.748544 |
updated_at | 2022-04-21 20:48:13.594471 |
description | Android resource file parsing & writing |
homepage | https://github.com/YaxinCheng/arsc |
repository | https://github.com/YaxinCheng/arsc |
max_upload_size | |
id | 561627 |
size | 45,112 |
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+
use arsc::{parse, write};
fn main() -> std::io::Result<()> {
let arsc = parse("/resources.arsc")?;
let _ = write(&arsc, "/output.arsc")?;
Ok(())
}
This section talks about how to compile the project
cd SOME_DIR
git clone https://github.com/YaxinCheng/arsc.git
cd arsc
cargo build --release