Jorge Aparicio
3c0daf9f03
rewrite match as expect
2018-05-14 18:37:38 +02:00
Felix Stegmaier
53c10049aa
Change Vec::from_iter to custom panic
2018-05-07 01:28:20 +02:00
Felix
c78441654f
Implement FromIterator for Vec
2018-05-06 22:57:19 +02:00
Jorge Aparicio
e7ada67057
v0.3.6
v0.3.6
2018-05-04 10:18:17 +02:00
bors[bot]
93db77df6a
Merge #37
...
37: fix capacity to be N+1 instead of 2*N+1 r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-05-04 08:08:23 +00:00
Jorge Aparicio
747afb5fbb
fix capacity to be N+1 instead of 2*N+1
2018-05-04 10:07:49 +02:00
Jorge Aparicio
2e86db4b1e
v0.3.5
v0.3.5
2018-05-03 05:45:17 +02:00
bors[bot]
1ea0389486
Merge #35
...
35: add RingBuffer.enqueue_unchecked r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-05-03 02:53:18 +00:00
Jorge Aparicio
7cd54a2ec2
add RingBuffer.enqueue_unchecked
2018-05-03 04:52:43 +02:00
Jorge Aparicio
ffc7849f27
avoid using NLL
2018-05-03 03:35:46 +02:00
Jorge Aparicio
1f2228e1cf
v0.3.4
v0.3.4
2018-04-28 12:28:57 +02:00
bors[bot]
6419bc2386
Merge #34
...
34: add BinaryHeap.pop_unchecked r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-28 05:42:19 +00:00
Jorge Aparicio
af5d6d1480
add BinaryHeap.pop_unchecked
2018-04-28 07:40:48 +02:00
Jorge Aparicio
8121700a76
Hole: switch from Option to ManuallyDrop to avoid a panicking branch
2018-04-28 07:40:35 +02:00
Jorge Aparicio
08c76f34c7
v0.3.3
v0.3.3
2018-04-28 05:55:01 +02:00
bors[bot]
7836224ed9
Merge #33
...
33: add BinaryHeap.push_unchecked r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-28 03:49:40 +00:00
Jorge Aparicio
22ef801d6a
cargo fmt
2018-04-28 05:49:05 +02:00
Jorge Aparicio
a58995eafb
add BinaryHeap.push_unchecked
2018-04-28 05:48:58 +02:00
Jorge Aparicio
05633f9b56
elide a bounds check
2018-04-28 05:45:35 +02:00
bors[bot]
77b16efb0b
Merge #32
...
32: re-export generic_array::ArrayLength r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
v0.3.2
2018-04-27 02:53:34 +00:00
Jorge Aparicio
66585909ef
re-export generic_array::ArrayLength
2018-04-27 04:53:05 +02:00
Jorge Aparicio
38c4a8f66b
omit thumb targets when building docs
v0.3.1
2018-04-23 20:34:47 +02:00
Jorge Aparicio
ff6e1e7819
fix OR
2018-04-23 20:31:51 +02:00
bors[bot]
bbc18a24f3
Merge #31
...
31: add more functionality to Vec r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-23 18:25:27 +00:00
Jorge Aparicio
e8ef25eee1
add more functionality to Vec
2018-04-23 20:24:53 +02:00
bors[bot]
579cbcdf4c
Merge #30
...
30: generate docs r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-23 17:55:17 +00:00
Jorge Aparicio
b0f155c6fd
generate docs
2018-04-23 19:54:46 +02:00
bors[bot]
c5b2d11878
Merge #29
...
29: port IndexMap and IndexSet r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-23 17:45:21 +00:00
Jorge Aparicio
f60ae0d3e0
add example to IndexMap.remove
2018-04-23 19:43:57 +02:00
Jorge Aparicio
15e654d0b5
travis: drop binutils package
2018-04-23 19:41:26 +02:00
Jorge Aparicio
f58f7abfed
port IndexMap and IndexSet
2018-04-23 19:40:36 +02:00
bors[bot]
0a41f9e6fa
Merge #28
...
28: drop untagged-option dependency, and depend on generic-array r=japaric a=japaric
closes #21
closes #23
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
v0.3.0
2018-04-21 22:42:11 +00:00
Jorge Aparicio
c1892739f7
drop untagged-option dependency, and depend on generic-array
2018-04-22 00:41:13 +02:00
Jorge Aparicio
4c905f5c5d
v0.2.7
v0.2.7
2018-04-20 03:44:48 +02:00
bors[bot]
c8d655ffc1
Merge #27
...
27: RingBuffer: generic index type and unchecked methods r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-20 01:41:16 +00:00
Jorge Aparicio
2fdb766d27
add Consumer.dequeue_unchecked and Producer.enqueue_unchecked
2018-04-20 03:40:32 +02:00
Jorge Aparicio
78f4f10933
RingBuffer: support smaller index types
2018-04-19 21:57:47 +02:00
bors[bot]
a8d404fbe8
Merge #26
...
26: Ringbuffer iterators macro r=japaric a=XOSplicer
Resolves #6
Refactor the ring_buffer::{Iter,IterMut} implementations to use a macro, so there is less duplicate code.
Inspired by the[ slice iterator macro in lib core](https://github.com/rust-lang/rust/blob/master/src/libcore/slice/mod.rs ).
I have never worked with macros to generate const / mut implementations.
So this might be a little rough.
`#![allow(stable_features)]` is needed for current rust nightly, since otherwise `conservative_impl_trait` would throw a warning. Removing the feature flag would not be backwards compatible with earlier nightly versions.
Co-authored-by: Felix <stegmaier.felix@gmail.com>
2018-04-19 19:46:33 +00:00
bors[bot]
784d10ee03
Merge #25
...
25: add BinaryHeap.{capacity,iter_mut} methods r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
v0.2.6
2018-04-19 16:32:07 +00:00
Jorge Aparicio
6ea256cdb2
add BinaryHeap.{capacity,iter_mut} methods
2018-04-19 18:31:19 +02:00
Jorge Aparicio
42af1e42ab
update the CHANGELOG
2018-04-19 18:25:58 +02:00
bors[bot]
9c50784896
Merge #24
...
24: implement BinaryHeap r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-18 00:47:55 +00:00
Jorge Aparicio
ad13b81a21
implement BinaryHeap
2018-04-18 02:47:18 +02:00
Jorge Aparicio
e57e3b1b97
v0.2.5
v0.2.5
2018-04-13 16:51:17 +02:00
bors[bot]
3f8c99e1e9
Merge #22
...
22: elide bounds check in Vec.deref{,_mut} r=japaric a=japaric
Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2018-04-13 14:26:38 +00:00
Jorge Aparicio
301c1becdf
drop Xargo
2018-04-13 16:26:16 +02:00
Jorge Aparicio
9fc5f71799
elide bounds check in Vec.deref{,_mut}
2018-04-13 16:21:21 +02:00
Felix
57452a8138
Refactor ring_buffer::{Iter,IterMut} to use macros
2018-04-09 23:21:05 +02:00
Felix
8e51a6138f
#![allow(stable_features)]
...
#![feature(conservative_impl_trait)] has been stabelized in Rust 1.26, #![deny(warnings)] would therefore break the build when a stable feature is explicitly used
2018-04-09 22:15:27 +02:00
Jorge Aparicio
17162b56fd
v0.2.4
v0.2.4
2018-03-12 07:01:35 +01:00