mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-07-27 02:04:39 +10:00
Initial commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
# libarchive-rust
|
||||
|
||||
[](https://travis-ci.org/reset/libarchive-rust)
|
||||
[](https://crates.io/crates/libarchive)
|
||||
|
||||
A Rust crate for interacting with archives using [libarchive](http://www.libarchive.org)
|
||||
|
||||
[Documentation](http://reset.github.io/libarchive-rust)
|
||||
|
||||
## 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;
|
||||
```
|
||||
Reference in New Issue
Block a user