92 Commits

Author SHA1 Message Date
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
bors[bot]
f2f35b6f98 Merge #20
20: turn LinearMap::new into a const fn r=japaric a=japaric
2018-03-12 05:58:28 +00:00
Jorge Aparicio
c31fa98618 turn LinearMap::new into a const fn 2018-03-12 06:57:57 +01:00
Jorge Aparicio
8f713e8fb2 v0.2.3 v0.2.3 2018-03-11 23:16:51 +01:00
bors[bot]
a29ec7acfc Merge #19
19: add LinearMap r=japaric a=japaric
2018-03-11 22:10:16 +00:00
Jorge Aparicio
0f4555895a remove unnecessary extern crate from example 2018-03-11 22:35:40 +01:00
Jorge Aparicio
d1e51cb43f add LinearMap 2018-03-11 22:35:27 +01:00
Jorge Aparicio
03203498f7 add Vec.swap_remove 2018-03-11 22:19:13 +01:00
bors[bot]
76f26e28e7 Merge #18
18:  Add AsMut and AsRef implementations for Vec and String  r=japaric a=glandium

And a cleanup commit removing unused `#![features]`
2018-03-07 15:08:34 +00:00
Mike Hommey
c5b5a53ed3 Add AsMut and AsRef implementations for Vec and String 2018-03-07 15:04:11 +09:00
Mike Hommey
b086fa992b Remove unused features 2018-03-04 07:19:01 +09:00
Jorge Aparicio
219dbd7236 add Per to the list of authors 2018-03-02 00:08:57 +01:00
Jorge Aparicio
95893d4155 v0.2.2 v0.2.2 2018-03-01 20:38:38 +01:00
Jorge Aparicio
534aad044c cargo fmt 2018-03-01 20:30:50 +01:00
bors[bot]
94a8e50858 Merge #17
17: refactor String impl r=japaric a=japaric
2018-03-01 19:25:06 +00:00
Jorge Aparicio
991d4c021f ci: fix Xargo install 2018-03-01 20:24:41 +01:00
Jorge Aparicio
aa8386e857 doc tweaks 2018-03-01 20:20:34 +01:00
Jorge Aparicio
8fc5da18bc remove commented out import 2018-03-01 20:17:16 +01:00
Jorge Aparicio
b6e80a7683 make fields of Vec private; impl From for String 2018-03-01 20:15:39 +01:00
Jorge Aparicio
43e093d507 fix Vec.extend_from_slice 2018-03-01 20:06:54 +01:00
Jorge Aparicio
b7e1948976 refactor and fix String.push 2018-03-01 19:52:47 +01:00
Jorge Aparicio
0dd522268c fix warnings 2018-03-01 19:40:39 +01:00
Jorge Aparicio
757dc3b2a0 ci: install Xargo binary 2018-03-01 19:35:55 +01:00
bors[bot]
459baf3e8f Merge #16
16: add String r=japaric a=perlindgren
2018-03-01 18:26:59 +00:00
Per
f43e08fd91 debug test 2018-03-01 19:25:00 +01:00