Skip to content

Commit

Permalink
Update to xz 5.2.3
Browse files Browse the repository at this point in the history
Closes #4
  • Loading branch information
alexcrichton committed May 12, 2017
1 parent 637fccc commit 9dd645e
Show file tree
Hide file tree
Showing 464 changed files with 4,187 additions and 3,054 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ in-memory encoding/decoding.
"""
categories = ["compression", "api-bindings"]

[workspace]
members = ["systest"]

[dependencies]
lzma-sys = { path = "lzma-sys", version = "0.1" }
tokio-io = { version = "0.1", optional = true }
Expand Down
3 changes: 0 additions & 3 deletions lzma-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ encoding/decoding.
High level Rust bindings are available in the `xz2` crate.
"""
categories = ["external-ffi-bindings"]
exclude = [
"xz-5.2.2/windows/xz_win.VC.db",
]

[dependencies]
libc = "0.2"
Expand Down
7 changes: 4 additions & 3 deletions lzma-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn main() {
println!("cargo:rustc-link-search={}/lib", dst.display());
println!("cargo:root={}", dst.display());
println!("cargo:include={}/include", dst.display());
println!("cargo:rerun-if-changed=xz-5.2.2/configure");
println!("cargo:rerun-if-changed=xz-5.2.3/configure");
let features = env::var("CARGO_CFG_TARGET_FEATURE")
.unwrap_or(String::new());
if target.contains("msvc") {
Expand All @@ -35,7 +35,7 @@ fn main() {
let _ = fs::remove_dir_all(&build);
let _ = fs::remove_dir_all(dst.join("lib"));
let _ = fs::remove_dir_all(dst.join("include"));
cp_r(Path::new("xz-5.2.2"), &build);
cp_r(Path::new("xz-5.2.3"), &build);

let profile = if features.contains("crt-static") {
"ReleaseMT"
Expand Down Expand Up @@ -65,7 +65,8 @@ fn main() {
//
// Work around this by just touching every file to the same time.
let src = dst.join("src");
cp_r(Path::new("xz-5.2.2"), &src);
drop(fs::remove_dir_all(&src));
cp_r(Path::new("xz-5.2.3"), &src);
let meta = t!(src.join("configure").metadata());
let now = FileTime::from_last_modification_time(&meta);
set_all_mtime(&src, &now);
Expand Down
6 changes: 0 additions & 6 deletions lzma-sys/xz-5.2.2/WindowsFormsApplication1/App.config

This file was deleted.

39 changes: 0 additions & 39 deletions lzma-sys/xz-5.2.2/WindowsFormsApplication1/Form1.Designer.cs

This file was deleted.

20 changes: 0 additions & 20 deletions lzma-sys/xz-5.2.2/WindowsFormsApplication1/Form1.cs

This file was deleted.

22 changes: 0 additions & 22 deletions lzma-sys/xz-5.2.2/WindowsFormsApplication1/Program.cs

This file was deleted.

This file was deleted.

This file was deleted.

117 changes: 0 additions & 117 deletions lzma-sys/xz-5.2.2/WindowsFormsApplication1/Properties/Resources.resx

This file was deleted.

This file was deleted.

Loading

0 comments on commit 9dd645e

Please sign in to comment.