Skip to content

Commit

Permalink
Merge b620565 into 0d45563
Browse files Browse the repository at this point in the history
  • Loading branch information
chalharu committed Jun 6, 2019
2 parents 0d45563 + b620565 commit 266d8c3
Show file tree
Hide file tree
Showing 26 changed files with 976 additions and 462 deletions.
3 changes: 3 additions & 0 deletions .vscode/settings.json
@@ -0,0 +1,3 @@
{
"rust.all_features": true
}
11 changes: 6 additions & 5 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "compression"
version = "0.1.3"
version = "0.1.4"
authors = ["Mitsuharu Seki <mitsu1986@gmail.com>"]
repository = "https://github.com/chalharu/rust-compression"
keywords = ["compress", "gzip", "deflate", "bzip2", "no_std"]
Expand All @@ -26,13 +26,14 @@ rand = ">=0.6.0"
rand_xorshift = ">=0.1.0"

[features]
default = [ "std", "bzip2", "gzip", "deflate", "zlib" ]
all = [ "bzip2", "gzip", "deflate", "zlib", "lzhuf" ]
default = [ "std", "bzip2", "gzip", "deflate", "zlib", "lzss" ]
all = [ "bzip2", "gzip", "deflate", "zlib", "lzhuf", "lzss" ]
bzip2 = [ ]
lzhuf = [ ]
lzhuf = [ "lzss" ]
gzip = [ "deflate" ]
deflate = [ ]
deflate = [ "lzss" ]
zlib = [ "deflate" ]
lzss = [ ]
std = [ ]
docs = [ "all" ]

Expand Down
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -24,6 +24,8 @@ compression = "0.1"

- **`lzhuf`** - Disabled by default.

- **`lzss`** - Enabled by default.

- **`std`** - By default, `compression` depends on libstd. However, it can be configured to use the unstable liballoc API instead, for use on platforms that have liballoc but not libstd. This configuration is currently unstable and is not guaranteed to work on all versions of Rust. To depend on `compression` without libstd, use default-features = false in the `compression` section of Cargo.toml to disable its "std" feature.

### Examples
Expand Down

0 comments on commit 266d8c3

Please sign in to comment.