Mathijs van de Nes
d2d19f6539
Update the write API
...
This change adds a FileOptions struct. This struct can be filled using a builder pattern
to set the options for a file or folder.
With this change, we also introduce the option to set the (unix) permissions of a file or folder.
2016-10-30 09:09:50 +01:00
Mathijs van de Nes
e747fcd779
Bump version
2016-10-07 09:22:18 +02:00
Mathijs van de Nes
b1f7a49337
Bump version
2016-08-08 17:44:34 +02:00
Mathijs van de Nes
078d717c7b
Bump version
2016-04-23 20:48:15 +02:00
Mathijs van de Nes
d95c925ac2
Let ZipWriter::finish be called without consuming
...
Resolves #10
2016-02-22 19:54:18 +01:00
Mathijs van de Nes
aaa49eb4f1
Update to new bzip2
2016-02-22 19:46:07 +01:00
Mathijs van de Nes
e47e6096fd
Bump version
2015-12-06 11:04:20 +01:00
Mathijs van de Nes
55396243d7
Bump version and add Cargo.toml to README
2015-10-05 22:07:36 +02:00
Alexander Bulaev
066c0f84ed
Remove no-bzip
feature because it doesn't work as I expected
2015-10-05 21:29:36 +03:00
Mathijs van de Nes
ef52f86dbc
Bump version
2015-10-05 19:33:50 +02:00
Alexander Bulaev
2addfa8b81
Made bzip2
compression method optional
2015-10-05 20:01:41 +03:00
Mathijs van de Nes
8afc0a7a7c
Bump version
2015-09-03 09:15:09 +02:00
Mathijs van de Nes
e528d7af04
Bump version
2015-07-20 16:09:13 +02:00
Mathijs van de Nes
0e274281dd
Use external crate to convert an MsDos datetime
2015-07-20 16:08:33 +02:00
Mathijs van de Nes
fe40b4ace1
Disable date/time normalization
...
The method may panic on Windows. Passing invalid dates is more preferable than correcting the date.
2015-07-13 17:29:10 +02:00
Mathijs van de Nes
6b0dec58fa
Add extra info to Cargo.toml
2015-07-02 10:18:06 +02:00
Mathijs van de Nes
1202cbbcd2
Update version numbers
2015-06-30 09:43:51 +02:00
Mathijs van de Nes
1ce0b92605
Update version numbers
2015-05-25 09:46:23 +02:00
Mathijs van de Nes
a7b9b4651d
Add impl to convert a ZipError to a io::Error
...
Resolves #4
2015-04-20 09:25:22 +02:00
Mathijs van de Nes
05a17faba0
Update version info
2015-04-03 15:00:57 +02:00
Mathijs van de Nes
b4d7747966
Bump version
2015-04-02 20:53:26 +02:00
Mathijs van de Nes
da87ac43e9
Bump version
2015-03-17 17:23:13 +01:00
Mathijs van de Nes
1b63377d69
Remove Clone from CompressionMethod
...
Copy ought to be enough
2015-03-16 10:51:23 +01:00
Mathijs van de Nes
c7df8157a9
Removed unsupported compression methods from enum
...
- Simplified enum to only show supported values
- Removed use of FromPrimitive
2015-03-16 10:34:48 +01:00
Mathijs van de Nes
aa4e395ec9
Use external crate for extra read/write methods
2015-03-09 11:55:19 +01:00
Mathijs van de Nes
cd52df6a18
Merge branch 'io_reform'
2015-03-01 11:57:36 +01:00
Mathijs van de Nes
fcf3b68ef1
Use old_io for bzip2 aswell, until own reform is done
2015-02-25 12:18:51 +01:00
Mathijs van de Nes
bfc370eda3
Update for new bzip2
2015-02-25 12:13:13 +01:00
Mathijs van de Nes
f88349104a
Remove almost all old_io code
2015-02-24 20:42:43 +01:00
Mathijs van de Nes
2e8baed799
Initial io conversion
...
- Convert most of the writer code to Write instead of Writer
- Add ioconverter module to convert between old and new IO
- Fix reader for new flate2
2015-02-24 13:00:55 +01:00
Mathijs van de Nes
a525bd4e34
Stick to the old io for as long as we can
2015-02-24 10:13:45 +01:00
Mathijs van de Nes
c8e8678ea1
Bump version
2015-02-19 15:22:15 +01:00
Mathijs van de Nes
355269e9ba
Bump version
2015-02-06 09:05:34 +01:00
Mathijs van de Nes
1a2e5a0fe3
Bump version
2015-01-29 11:06:42 +01:00
Mathijs van de Nes
b88abe1582
Update ZipError to latest rust
2015-01-24 13:24:19 +01:00
Mathijs van de Nes
c2686b3b2e
Move examples to proper directory
2015-01-20 10:09:54 +01:00
Mathijs van de Nes
fa64e18a54
Remove log dependency
2015-01-20 10:04:18 +01:00
Mathijs van de Nes
814df34916
Use crates.io packages again
2015-01-13 10:40:31 +01:00
Mathijs van de Nes
7361b9e415
Use external log crate
2014-12-24 10:16:28 +01:00
Mathijs van de Nes
81a465d7c4
Bump version number
2014-12-13 14:16:47 +01:00
Mathijs van de Nes
22580a768d
Implement copy where needed
2014-12-13 14:11:52 +01:00
Mathijs van de Nes
54503e78f2
Fix some enum issues
2014-12-02 16:55:40 +01:00
Mathijs van de Nes
bdda4310e4
Implement finding files by name
...
Resolves #2
2014-11-22 19:28:00 +01:00
Mathijs van de Nes
ee6e830203
Add bzip2 support
2014-11-21 22:56:08 +01:00
Mathijs van de Nes
933f08a336
Add extra meta-data to support crates.io
2014-11-21 10:00:16 +01:00
Mathijs van de Nes
da11be1259
Use crates.io instead of git repo for deps
2014-11-21 09:49:36 +01:00
Mathijs van de Nes
1f08866d84
Switch to external time crate
2014-11-16 12:11:04 +01:00
Mathijs van de Nes
3abe0aa893
De-pub crc32 and rename some of the functions
2014-09-11 12:01:07 +02:00
Mathijs van de Nes
4d07f695de
Added Travis support, README and LICENSE
2014-09-11 10:50:41 +02:00
Mathijs van de Nes
3668fa5e33
Implemented a simple filename reader
2014-09-09 13:00:18 +02:00