17 Commits

Author SHA1 Message Date
Andrew J. Stone
2992284f37 Bump version to 0.3.0 2018-02-27 01:51:14 -05:00
Andrew J. Stone
968cc4204b
Merge pull request #8 from andrewjstone/debug-format
Implement Debug for TimerHeap<T>
2018-02-27 01:48:11 -05:00
Andrew J. Stone
5e45b94a6a Implement Debug for TimerHeap<T>
Use a separate type (DebugEntry) for formatting TimerEntrys during
debug formatting of TimerHeap so that we can still see the other fields when
debug formatting TimerEntrys outside of formatting a TimerHeap.

Fixes #5
2018-02-27 01:37:30 -05:00
Andrew J. Stone
1a00a785eb
Merge pull request #7 from jonhoo/fine-remaining
Expose fine-grained time remaining
2018-02-26 01:23:51 -05:00
Jon Gjengset
4b3316a19e
Expose fine-grained time remaining
Fixes #6
2018-02-22 13:35:32 -05:00
Andrew J. Stone
5afae607ab Bump version to 0.2.0 2017-12-10 14:38:47 -05:00
Andrew J. Stone
f3e973070d Add upsert method 2017-12-10 14:30:05 -05:00
Andrew J. Stone
09689c5700
Merge pull request #4 from andrewjstone/expired-iterator
Return an Iterator from expired method
2017-12-09 15:33:12 -05:00
Andrew J. Stone
f375216d39 Return an Iterator from expired method
Return an `Expired` struct that implements Iterator from `expired()`
instead of a Vec to avoid an allocation.
2017-12-09 01:17:51 -05:00
Andrew J. Stone
85e9d0dd9e
Merge pull request #1 from jonhoo/patch-1
Add repository link
2017-12-08 22:58:11 -05:00
Jon Gjengset
f48b5b63b8
Add repository link
This will cause a link to the GitHub project to appear on crates.io and docs.rs.
2017-12-04 14:29:20 -05:00
Andrew J. Stone
290756f7d9 Bump version to 0.1.1 2017-12-02 16:09:06 -05:00
Andrew J. Stone
525ae56c26 Add crate level docs and fix expiry bug
A bug occurred, such that when an entry expired it wasn't removed from
the active map. Fix it so it is now, and update a couple tests to check
for regression.

Also add .swp files to .gitignore and update crate docs.
2017-12-02 16:05:00 -05:00
Andrew J. Stone
9db61d241f Make _expired private 2017-11-25 18:08:26 -05:00
Andrew J. Stone
c6008c4c77 Add .travis.yml 2017-11-25 18:03:37 -05:00
Andrew J. Stone
0ae2476878 Update travis ci badge location 2017-11-25 18:01:53 -05:00
Andrew J. Stone
e4857e7dff Initial Commit 2017-11-25 17:58:06 -05:00