Skip to content
This repository was archived by the owner on Jun 2, 2024. It is now read-only.

Commit 638e236

Browse files
authored
Update README.md to state that the crate has moved
1 parent 3e88fe6 commit 638e236

File tree

1 file changed

+3
-94
lines changed

1 file changed

+3
-94
lines changed

README.md

+3-94
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,4 @@
1-
zip-rs
2-
======
1+
zip has moved
2+
=============
33

4-
[![Build Status](https://img.shields.io/github/workflow/status/zip-rs/zip/CI)](https://github.com/zip-rs/zip/actions?query=branch%3Amaster+workflow%3ACI)
5-
[![Crates.io version](https://img.shields.io/crates/v/zip.svg)](https://crates.io/crates/zip)
6-
[![Discord](https://badgen.net/badge/icon/discord?icon=discord&label)](https://discord.gg/rQ7H9cSsF4)
7-
8-
[Documentation](https://docs.rs/zip/0.6.3/zip/)
9-
10-
Info
11-
----
12-
13-
14-
A zip library for rust which supports reading and writing of simple ZIP files.
15-
16-
Supported compression formats:
17-
18-
* stored (i.e. none)
19-
* deflate
20-
* bzip2
21-
* zstd
22-
23-
Currently unsupported zip extensions:
24-
25-
* Encryption
26-
* Multi-disk
27-
28-
Usage
29-
-----
30-
31-
With all default features:
32-
33-
```toml
34-
[dependencies]
35-
zip = "0.6"
36-
```
37-
38-
Without the default features:
39-
40-
```toml
41-
[dependencies]
42-
zip = { version = "0.6.6", default-features = false }
43-
```
44-
45-
The features available are:
46-
47-
* `aes-crypto`: Enables decryption of files which were encrypted with AES. Supports AE-1 and AE-2 methods.
48-
* `deflate`: Enables the deflate compression algorithm, which is the default for zip files.
49-
* `bzip2`: Enables the BZip2 compression algorithm.
50-
* `time`: Enables features using the [time](https://github.com/rust-lang-deprecated/time) crate.
51-
* `zstd`: Enables the Zstandard compression algorithm.
52-
53-
All of these are enabled by default.
54-
55-
MSRV
56-
----
57-
58-
Our current Minimum Supported Rust Version is **1.59.0**. When adding features,
59-
we will follow these guidelines:
60-
61-
- We will always support the latest four minor Rust versions. This gives you a 6
62-
month window to upgrade your compiler.
63-
- Any change to the MSRV will be accompanied with a **minor** version bump
64-
- While the crate is pre-1.0, this will be a change to the PATCH version.
65-
66-
Examples
67-
--------
68-
69-
See the [examples directory](examples) for:
70-
* How to write a file to a zip.
71-
* How to write a directory of files to a zip (using [walkdir](https://github.com/BurntSushi/walkdir)).
72-
* How to extract a zip file.
73-
* How to extract a single file from a zip.
74-
* How to read a zip from the standard input.
75-
76-
Fuzzing
77-
-------
78-
79-
Fuzzing support is through [cargo fuzz](https://github.com/rust-fuzz/cargo-fuzz). To install cargo fuzz:
80-
81-
```bash
82-
cargo install cargo-fuzz
83-
```
84-
85-
To list fuzz targets:
86-
87-
```bash
88-
cargo +nightly fuzz list
89-
```
90-
91-
To start fuzzing zip extraction:
92-
93-
```bash
94-
cargo +nightly fuzz run fuzz_read
95-
```
4+
This repository was formerly the source of the [zip](https://crates.io/crates/zip) Rust crate for compressing and decompressing ZIP files, but that has moved to https://github.com/Pr0methean/zip. Please submit all issues and pull requests there, and close any existing copies here. Once the existing ones are closed, this repository will be archived.

0 commit comments

Comments
 (0)