637 Commits

Author SHA1 Message Date
bors[bot]
edb0eda9b3 Merge #95
95: drop const-fn feature; provide const constructors on near stable (1.36) r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-06 15:14:09 +00:00
Jorge Aparicio
fc4054571f drop const-fn feature; provide const constructors on near stable (1.36) 2019-05-06 17:13:15 +02:00
bors[bot]
ade3f5ecbf Merge #94
94: pool!: accept attributes r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-03 19:03:39 +00:00
Jorge Aparicio
087aa5feed pool!: accept attributes 2019-05-03 21:03:04 +02:00
bors[bot]
6938d75622 Merge #93
93: ARMv7-R: implement Sync for Pool r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-03 16:44:29 +00:00
Jorge Aparicio
110239f0c1 ARMv7-R: implement Sync for Pool 2019-05-03 18:43:46 +02:00
bors[bot]
91dfd3ccb8 Merge #92
92: use core::mem::MaybeUninit; drop min-const-fn and smaller-atomics features r=japaric a=japaric

closes #69 

this contains breaking changes (see CHANGELOG) and bumps the crate version to 0.5.0. We'll make a pre-release (i.e. v0.5.0-alpha.1) after rust-lang/rust#60445 lands and a proper release when that PR makes into the stable channel.

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-03 13:58:22 +00:00
Jorge Aparicio
2a34835f6a ci: remove non-nightly channels 2019-05-03 15:56:38 +02:00
Jorge Aparicio
4932eb27df use core::mem::MaybeUninit; drop min-const-fn and smaller-atomics features 2019-05-03 14:00:28 +02:00
Jorge Aparicio
22874dfb87 v0.4.4 v0.4.4 2019-05-02 12:40:47 +02:00
bors[bot]
74e106e27f Merge #91
91: tweak crate::MaybeUninit::unitialized r=japaric a=japaric

to not cause UB when unoptimized

appears to fix japaric/cortex-m-rtfm#182

Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-02 10:35:23 +00:00
Jorge Aparicio
6281cd359c tweak crate::MaybeUninit::unitialized
to not cause UB when unoptimized

appears to fix japaric/cortex-m-rtfm#182
2019-05-02 12:34:47 +02:00
bors[bot]
aab766f764 Merge #90
90: impl more traits for pool::Box and pool::singleton::Box r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-04-28 16:55:31 +00:00
Jorge Aparicio
37a2068625 impl more traits for pool::Box and pool::singleton::Box 2019-04-28 18:54:43 +02:00
Jorge Aparicio
399610c4d8 v0.4.3 v0.4.3 2019-04-22 22:00:11 +02:00
bors[bot]
d8e8209d36 Merge #89
89: pool: update Orderings r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-04-22 19:50:20 +00:00
Jorge Aparicio
a3c4768073 pool: update Orderings 2019-04-22 21:49:47 +02:00
Jorge Aparicio
42c3f2a096 tweak bors.toml 2019-04-22 21:08:26 +02:00
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