Commit Graph

223 Commits

Author SHA1 Message Date
Marshall Pierce
21eefd1b6e Update release notes 2018-11-26 09:20:41 -07:00
Marshall Pierce
7fe86cc7a0 Bump minimum rust version 2018-11-26 09:13:49 -07:00
Marshall Pierce
153e80a94b v0.10.0 2018-10-28 16:10:21 -06:00
Marshall Pierce
51873b6c3b
Merge pull request #82 from alicemaz/detect-invalid-last-byte
Detect trailing symbols that encode unused bits and report an error.
2018-10-28 16:09:33 -06:00
Marshall Pierce
5d0d999325 Fix for 1.23.0 compat 2018-10-28 15:42:05 -06:00
Marshall Pierce
f6915a3aba Detect trailing symbols that encode unused bits and report an error. 2018-10-28 13:44:48 -06:00
Marshall Pierce
95edf364fe
Merge pull request #81 from alicemaz/remove-ws-strip
Remove whitespace stripping.
2018-10-28 12:01:44 -06:00
Marshall Pierce
d7950e814e Remove whitespace stripping. 2018-10-28 10:15:19 -06:00
Marshall Pierce
1085da88d2
Merge pull request #80 from alicemaz/encode-without-unsafe
Encode without unsafe
2018-10-28 09:49:40 -06:00
Marshall Pierce
3ef167306d Fix a comment 2018-10-28 09:32:23 -06:00
Marshall Pierce
9ff49599c3 Deny unsafe code, and add to release notes. 2018-10-28 09:30:37 -06:00
Marshall Pierce
7509b25f57 When encoding into a new String, create a Vec and encode into that.
This restores some of the performance lost by safely writing to Strings,
especially for very short inputs.
2018-10-28 09:26:33 -06:00
Marshall Pierce
ed895d65eb Use ChunkedEncoder for encoding into Strings.
This avoids unsafely accessing the String's underlying Vec<u8>, but
incurs UTF-8 validation overhead, and almost halves the speed of
encoding very small inputs (a few bytes) to Strings. At input sizes of
a few KiB, it's about a 15% hit, and it decreases from there.
2018-10-28 09:26:33 -06:00
Marshall Pierce
84ad275421
Merge pull request #74 from alicemaz/brianm-encoder
Streaming encoder
2018-10-28 09:26:24 -06:00
Marshall Pierce
37e84023d0 Merge branch 'master' into brianm-encoder 2018-10-28 08:35:55 -06:00
Marshall Pierce
0794fc65db Make travis reinstall tarpaulin when it exists but is broken 2018-10-28 08:30:00 -06:00
Marshall Pierce
5a74bd45a8 Add release notes entry 2018-10-28 08:29:33 -06:00
Marshall Pierce
498d277a4a Appease rustc 1.23, and remove stray annotation 2018-10-28 08:21:54 -06:00
Marshall Pierce
5c35a0d487 Comment cleanup 2018-10-28 08:17:17 -06:00
Marshall Pierce
53d23af907 Merge branch 'master' into brianm-encoder 2018-10-28 07:55:46 -06:00
Marshall Pierce
7fa9f4de66 Remove line wrapping 2018-10-28 07:51:21 -06:00
Marshall Pierce
19cdd469f2 Merge branch 'master' into brianm-encoder 2018-10-23 08:42:39 -06:00
Marshall Pierce
9374e2ba2d
Merge pull request #78 from robinst/add-badges-for-build-and-coverage
README: Add badges for build and coverage
2018-10-19 06:53:45 -06:00
Robin Stocker
faa77ce310 README: Add badges for build and coverage 2018-10-19 13:15:24 +11:00
Marshall Pierce
9948e90631
Merge pull request #77 from robinst/run-tarpaulin-in-nightly
Run cargo-tarpaulin on nightly Rust
2018-10-18 16:57:53 -06:00
Robin Stocker
a605177015 Run cargo-tarpaulin on nightly Rust
See README of tarpaulin: https://github.com/xd009642/tarpaulin
2018-10-19 08:58:55 +11:00
Marshall Pierce
8fe21961fb
Merge pull request #69 from robinst/add-travis-ci
Add config for travis-ci with cargo-tarpaulin test coverage
2018-10-17 11:38:35 -06:00
Marshall Pierce
4a2864d7e2 Rework stream encoder to adhere to the Write contract:
- Only one call to the wrapped writer per write()
- Error => no write took place
2018-10-06 16:51:55 -06:00
Marshall Pierce
39ea39b7d8 Move stream encoder tests to their own file 2018-10-06 12:26:34 -06:00
Marshall Pierce
0709c18dcb Update fuzzer dependencies 2018-10-06 06:33:36 -06:00
Marshall Pierce
0972286e85 Merge branch 'master' into brianm-encoder 2018-10-06 06:21:59 -06:00
Marshall Pierce
0b384875e9 Add links to RFCs for alphabets. Fixes #72. 2018-10-03 07:17:11 -06:00
Marshall Pierce
1f0b90d113 Use current dependency versions.
Small tweaks to be compatible with updated rand api.
2018-10-02 21:14:30 -06:00
Marshall Pierce
61bb3b6f04 v0.9.3 2018-09-14 08:32:15 -06:00
Robin Stocker
e50702379c Add config for travis-ci with cargo-tarpaulin test coverage 2018-08-08 16:13:02 +10:00
Marshall Pierce
80c8a4b066 Add version badge 2018-07-02 07:29:13 -06:00
Marshall Pierce
f7d97e80d4
Merge pull request #65 from linkmauve/patch-1
Change the suggested version in the README
2018-07-02 07:22:17 -06:00
linkmauve
220523dc8f
Change the suggested version in the README
The README was currently suggesting to install the 0.6 branch, which is now quite outdated.
2018-07-02 13:59:54 +02:00
Marshall Pierce
59da132df6 Update release notes for 0.9.2
(commit cherry-picked to avoid even uglier commit surgery)
2018-06-16 15:00:02 -05:00
Marshall Pierce
b7095ccec9
Merge pull request #63 from ignatenkobrain/patch-3
bump safemem to 0.3
2018-06-16 14:57:30 -05:00
Igor Gnatenko
27e13598e6
bump safemem to 0.3 2018-06-16 02:53:55 +02:00
Marshall Pierce
4411dcfbba
Merge pull request #61 from fengalin/clone_decode_error
Derive `Clone` for `DecodeError`
2018-05-31 09:28:50 -05:00
François Laignel
4ae527e2c0 Derive Clone for DecodeError
This is needed in `ron` so that we can define:

``` rust
pub enum ParseError {
    Base64Error(base64::DecodeError),
    Eof,
    ...
}
```
2018-05-31 16:21:17 +02:00
Marshall Pierce
68a09d7bce Make the beginnings of a module structure for read/write encode/decode wrappers 2018-04-23 14:40:58 -05:00
Marshall Pierce
9dfa4acf3f Add a finish() that writes padding, etc 2018-04-23 14:35:28 -05:00
Marshall Pierce
effb6ed812 Fix merge shrapnel 2018-04-23 13:29:08 -05:00
Marshall Pierce
7cf9e5264f Merge branch 'master' into brianm-encoder 2018-04-23 13:26:06 -05:00
Marshall Pierce
747eed4500 Apply rustfmt 2018-04-23 13:25:06 -05:00
Marshall Pierce
de1568dfc4 v0.9.1 2018-04-23 13:17:03 -05:00
Marshall Pierce
77ecfe5688 Apply rustfmt 2018-04-23 13:16:49 -05:00