Last active
September 21, 2016 14:56
-
-
Save stpettersens/5da94886daf8dc6d5c66b5f123ffbe67 to your computer and use it in GitHub Desktop.
Gist to test Ark library (https://github.com/stpettersens/ark)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[package] | |
name = "ark_test" | |
version = "0.1.0" | |
authors = ["Sam Saint-Pettersen <[email protected]>"] | |
[dependencies] | |
ark = { git = "https://github.com/stpettersens/ark.git" } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extern crate ark; | |
use ark::Ark; | |
fn main() { | |
Ark::create_archive("archive.ar", vec!["Cargo.toml"]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment