469 Commits

Author SHA1 Message Date
bors[bot]
1a07a0ef7c Merge #88
88: add lock-free, interrupt-safe memory pool r=japaric a=japaric

this adds the stable subset of the `lifo::Pool` [1] API

[1]: https://github.com/japaric/lifo

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-04-22 19:00:42 +00:00
Jorge Aparicio
1af760e971 fix unit test 2019-04-22 21:00:08 +02:00
Jorge Aparicio
ef399ab44f add lock-free, interrupt-safe memory pool
this adds the stable subset of the `lifo::Pool` [1] API

[1]: https://github.com/japaric/lifo
2019-04-22 20:49:34 +02:00
bors[bot]
773360b5fd Merge #84
84: Implement Eq and PartialEq for Indexmap r=japaric a=XOSplicer

ref #56 

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-02-14 19:41:03 +00:00
bors[bot]
f525443079 Merge #83
83: document and guarantee MSRV r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-02-12 18:41:27 +00:00
Jorge Aparicio
1cfc847892 document and guarantee MSRV 2019-02-12 19:40:51 +01:00
Jorge Aparicio
a0e78c1fb9 mention serde feature in the changelog 2019-02-12 19:27:58 +01:00
Jorge Aparicio
9a9cbd3918 v0.4.2 v0.4.2 2019-02-12 19:21:33 +01:00
Felix Stegmaier
37f773493f Add test for Eq of IndexMap 2019-02-11 22:09:21 +01:00
Felix Stegmaier
7107014806 Implement PartialEq and Eq for IndexMap 2019-02-11 22:06:53 +01:00
bors[bot]
9588c8554d Merge #81
81: Implement Clone for Queue r=XOSplicer a=XOSplicer

ref #56 

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-02-11 20:14:19 +00:00
Felix Stegmaier
dc743a1a0e Fix Queue::clone type lookup 2019-02-11 21:11:56 +01:00
Felix Stegmaier
58f5a53b9d Merge branch 'master' into queue-clone
# Conflicts:
#	src/spsc/mod.rs
2019-02-11 21:06:15 +01:00
bors[bot]
9bdcef4d2e Merge #80
80: Implement PartialEq and Eq for Queue r=japaric a=XOSplicer

ref #56 

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-02-11 19:52:13 +00:00
Felix Stegmaier
826840ceb9 Merge branch 'master' into queue-eq
# Conflicts:
#	src/spsc/mod.rs
2019-02-11 20:45:25 +01:00
Felix Stegmaier
6da3111333 Merge branch 'master' into queue-clone
# Conflicts:
#	src/spsc/mod.rs
2019-02-11 20:41:50 +01:00
bors[bot]
d1fe9a3354 Merge #79
79: Implement Hash for Queue r=japaric a=XOSplicer

ref #56 

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-02-11 19:20:11 +00:00
Felix Stegmaier
f5c6239070 Add test for Clone of Queue 2019-02-10 17:59:13 +01:00
Felix Stegmaier
e272ca9c70 Implement Clone for Queue 2019-02-10 17:54:49 +01:00
Felix Stegmaier
09a70790a5 Add test for Eq of Queue 2019-02-10 17:23:41 +01:00
Felix Stegmaier
44e6e2e83c Implement Eq for Queue 2019-02-10 17:16:06 +01:00
Felix Stegmaier
681f4ef2e1 Add test for hash equality of Queue 2019-02-10 16:49:36 +01:00
Felix Stegmaier
382dc3da85 Implement Hash for Queue 2019-02-10 16:32:31 +01:00
bors[bot]
582668cb50 Merge #78
78: Implement Default for Vec, String, LinearMap, BinaryHeap r=japaric a=XOSplicer

As pointed out in #56 

The implementation for Queue is missing, as it would be opinionated about the atomic size to use and whether it is a single or multi core variant.

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-02-10 12:38:55 +00:00
Felix Stegmaier
bc3616d0cb Implement Default for BinaryHeap 2019-02-10 13:29:13 +01:00
Felix Stegmaier
ad3ef1282d Implement Default for LinearMap 2019-02-10 13:26:57 +01:00
Felix Stegmaier
1db3ed6822 Implement Default for String 2019-02-10 13:24:20 +01:00
Felix Stegmaier
0f7a519475 Implement Default for Vec 2019-02-10 13:22:54 +01:00
bors[bot]
845257cecf Merge #66
66: Serde support r=japaric a=vorot93

This PR introduces complete serialization and deserialization support for all data structures in this crate. Fixes #58.

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
2019-02-07 16:52:53 +00:00
bors[bot]
e7343d3de1 Merge #75
75: Impl conversion from various number types for String r=japaric a=vorot93



Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
2019-02-06 15:56:16 +00:00
Artem Vorotnikov
ea0847ad42
Test serde feature on stable 2019-02-06 18:43:19 +03:00
Artem Vorotnikov
d551759884
Serde support 2019-02-06 18:41:54 +03:00
Artem Vorotnikov
f79193e77e
Use write! macro 2019-02-06 18:40:34 +03:00
Artem Vorotnikov
9ad16afcd5
Impl conversion from various number types for String 2019-02-06 18:39:49 +03:00
bors[bot]
fa16a1decb Merge #77
77: impl Hash for Vec and String r=japaric a=vorot93

ref #56 

Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
2019-02-06 14:09:11 +00:00
bors[bot]
12358c4850 Merge #74
74: Several missing impls for LinearMap r=japaric a=vorot93



Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
2019-02-06 13:54:46 +00:00
bors[bot]
b2691ad66a Merge #68
68: impl Clone for all containers r=japaric a=vorot93



Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
2019-02-06 13:49:43 +00:00
Artem Vorotnikov
a56a7ce299
impl Hash for Vec and String 2019-02-05 21:36:39 +03:00
Artem Vorotnikov
ae70cbf309
Several missing impls for LinearMap 2019-02-05 21:29:52 +03:00
Artem Vorotnikov
4b09a24573
impl Clone for all containers 2019-02-05 18:19:41 +03:00
bors[bot]
a1e5408d23 Merge #73
73: tweak ci/script.sh to make it easier to run it locally r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-02-05 09:35:17 +00:00
Jorge Aparicio
3cf3b77e43 tweak ci/script.sh to make it easier to run it locally 2019-02-05 10:34:34 +01:00
bors[bot]
9484db322e Merge #67
67: Implement FromStr for String r=japaric a=vorot93



Co-authored-by: Artem Vorotnikov <artem@vorotnikov.me>
2019-02-05 09:08:26 +00:00
bors[bot]
22b8d0809a Merge #70
70: Implement Debug for `Queue`, `LinearMap` and `BinaryHeap` r=japaric a=XOSplicer


# Description
As pointed out in #56 the `fmt::Debug` implementation for those types is missing.
This PR implements them by passing their respective `Iterator` to the formatter.

# Open Questions
- Should `Debug` also be implemented for `spsc::Consumer` and `spsc::Producer`?
- Should the implementation for `BinaryHeap` respect the priority of the items in the heap?


Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-02-05 09:02:29 +00:00
bors[bot]
89bf3ecd13 Merge #71
71: remove no longer needded integer_atomics feature r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-02-05 08:57:47 +00:00
Jorge Aparicio
82fded5155 remove no longer needded integer_atomics feature 2019-02-04 19:23:47 +01:00
Felix Stegmaier
afa4a1f9bd Implement Debug for BinaryHeap 2019-02-02 14:37:23 +01:00
Felix Stegmaier
252ce94d44 Implement Debug for Queue 2019-02-02 14:22:23 +01:00
Felix Stegmaier
e2fcad0d1e Implement Debug for LinearMap 2019-02-02 14:16:10 +01:00
Artem Vorotnikov
8b7802f352
Implement FromStr for String 2019-01-20 17:25:48 +03:00