Skip to content

Commit

Permalink
Prepare for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
nwin committed Jun 8, 2015
1 parent d822968 commit 6c0b8fa
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 7 deletions.
11 changes: 8 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ libc = "*"
num = "*"
bitflags = "*"

[dependencies.inflate]
path = "./inflate"
# Development only
#[dependencies.inflate]
#path = "inflate"

[dev-dependencies]
getopts = "*"
Expand All @@ -26,4 +27,8 @@ glob = "*"
[dev-dependencies.glium]
version = "*"
features = ["glutin"]
default-features = false
default-features = false

[features]
default = []
unstable = []
2 changes: 0 additions & 2 deletions inflate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
[package]
name = "inflate"
version = "0.1.0"
authors = ["nwin <[email protected]>"]

[features]
default = []

unstable = []
2 changes: 1 addition & 1 deletion inflate/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
// option. This file may not be copied, modified, or distributed
// except according to those terms.
#![cfg_attr(feature = "fast_unsafe", feature(core))]
#![cfg_attr(feature = "unstable", feature(core))]
use std::cmp;
use std::slice;

Expand Down
6 changes: 5 additions & 1 deletion src/decoder/stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@ use std::io::{self, Read, Write};
use std::cmp::min;
use std::convert::{From, AsRef};

extern crate inflate;
// # Development only:
// extern crate inflate;
// # For publishing
#[path = "../../inflate/src/lib.rs"]
mod inflate;
use self::inflate::InflateStream;

use crc::Crc32;
Expand Down

0 comments on commit 6c0b8fa

Please sign in to comment.