drop/libraries/libarchive/README.md

38 lines
746 B
Markdown
Raw Permalink Normal View History

2015-12-17 18:24:09 -08:00
# libarchive-rust
2019-01-02 15:57:21 -08:00
[![Build Status](https://travis-ci.org/chef/libarchive-rust.svg?branch=master)](https://travis-ci.org/chef/libarchive-rust)
2015-12-17 18:24:09 -08:00
[![crates.io](https://meritbadge.herokuapp.com/gpgme)](https://crates.io/crates/libarchive)
A Rust crate for interacting with archives using [libarchive](http://www.libarchive.org)
## Requirements
Version 3 of libarchive is required to use this library.
The required libraries and binaries can be installed by running:
#### Debian / Ubuntu
```shell
$ sudo apt-get install libarchive13
```
#### Mac OS X
```shell
$ brew install libarchive
```
## Usage
Put this in your `Cargo.toml`:
```toml
[dependencies]
libarchive = "*"
```
And this in your crate root:
```rust
extern crate libarchive;
```