468 Commits

Author SHA1 Message Date
bors[bot]
5ffd0df2cc
Merge #118
118: Prepared for 0.5.1 release r=japaric a=korken89

r? @japaric

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
v0.5.1
2019-08-29 13:48:38 +00:00
Emil Fresk
7c93606372 Prepared for 0.5.1 release 2019-08-29 15:42:47 +02:00
bors[bot]
e8aa152993
Merge #117
117: Added peek_mut for the binary heap r=japaric a=korken89

As discussed in https://github.com/japaric/heapless/issues/109, please have a look and lets bike-shed the API.

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2019-08-28 17:03:41 +00:00
Emil Fresk
fde6afe6cc Added peek_mut based on the std-lib 2019-08-28 16:22:03 +02:00
bors[bot]
03b890f161
Merge #110
110: Add Queue::peek. r=japaric a=jmgao



Co-authored-by: Josh Gao <josh@jmgao.dev>
2019-08-28 13:49:27 +00:00
Josh Gao
eae66b9b87 Add Queue::peek. 2019-08-21 20:27:03 -07:00
bors[bot]
9e2e5ae03f
Merge #113
113: Added armv8 support r=japaric a=korken89

Added flags for armv8m

Co-authored-by: Emil Fresk <emil.fresk@gmail.com>
2019-08-21 12:37:41 +00:00
Emil Fresk
902460cd18 Added armv8 base to CI 2019-08-11 18:51:16 +02:00
Emil Fresk
14cef0fbc3 Added distinction between armv8 base and main 2019-08-11 18:45:41 +02:00
Emil Fresk
24ffc4a399 Added armv8 support 2019-08-11 18:18:00 +02:00
Jorge Aparicio
109cb273f2 update doc URL in crate metadata 2019-07-12 01:21:58 +02:00
Jorge Aparicio
cda0c20b16 v0.5.0
closes #105
v0.5.0
2019-07-12 01:20:18 +02:00
bors[bot]
ab713b810d Merge #100
100: Remove unecessary conditional r=japaric a=jamesmunns

In both cases, head is subtracted from tail, wrapping when necessary.

Co-authored-by: James Munns <james@onevariable.com>
2019-07-11 23:12:34 +00:00
bors[bot]
38e29222a0 Merge #104
104: Enable MSRV 1.36 for travis-ci r=japaric a=XOSplicer

This PR enables CI runs for Rust 1.36 and current stable for on Ci branches for bors.

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-07-11 23:06:12 +00:00
bors[bot]
e17689c977 Merge #106
106: fix deprecation warnings r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-07-11 22:58:15 +00:00
Jorge Aparicio
af13418f72 fix deprecation warnings 2019-07-12 00:22:27 +02:00
Felix Stegmaier
bc8be9d833 Enable MSRV 1.36 for travis-ci 2019-07-05 19:48:17 +02:00
bors[bot]
531432b75b Merge #101
101: Fix boxed Error in build.rs for nightly r=japaric a=XOSplicer

on nightly (rustc 1.37.0-nightly (7840a0b75 2019-05-31)) the build is currently broken (see below).

Adding `dyn Error` as the error result in `build.rs` solves the problem.

```
$ cargo +nightly build      
   Compiling typenum v1.10.0
   Compiling stable_deref_trait v1.1.1
   Compiling byteorder v1.2.7
   Compiling heapless v0.5.0-alpha.2 (/home/felix/workspace/rust/heapless)
error: trait objects without an explicit `dyn` are deprecated
 --> build.rs:5:29
  |
5 | fn main() -> Result<(), Box<Error>> {
  |                             ^^^^^ help: use `dyn`: `dyn Error`
  |
note: lint level defined here
 --> build.rs:1:9
  |
1 | #![deny(warnings)]
  |         ^^^^^^^^
  = note: #[deny(bare_trait_objects)] implied by #[deny(warnings)]

error: aborting due to previous error

error: Could not compile `heapless`.
warning: build failed, waiting for other jobs to finish...
error: build failed
```

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-06-21 12:36:20 +00:00
Felix Stegmaier
2768707946 Fix boxed Error in build.rs for nightly 2019-06-01 10:19:30 +02:00
James Munns
e5b75e0d94
Remove unecessary conditional 2019-05-24 12:18:06 +02:00
bors[bot]
8ada965e27 Merge #99
99: add multiple-producer multiple-consumer lock-free queue r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-22 20:27:40 +00:00
Jorge Aparicio
66b44da3e0 fix table 2019-05-22 22:27:10 +02:00
Jorge Aparicio
d969e5516e add benchmark to spsc::Queue 2019-05-22 21:50:00 +02:00
Jorge Aparicio
94db64d8a6 add multiple-producer multiple-consumer lock-free queue 2019-05-22 18:58:58 +02:00
Jorge Aparicio
e609aed1dd pre-release 2019-05-21 13:46:11 +02:00
bors[bot]
ba1d239e68 Merge #97
97: Turn `binary_heap::Kind` into a sealed trait r=japaric a=XOSplicer

resolves #72

breaking change, since a previously public trait is now private

Co-authored-by: Felix Stegmaier <stegmaier.felix@gmail.com>
2019-05-21 10:49:45 +00:00
bors[bot]
9426f8d847 Merge #98
98: drop the maybe_uninit feature gate r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-21 10:44:30 +00:00
Jorge Aparicio
fd1f701120 drop the maybe_uninit feature gate 2019-05-21 12:43:19 +02:00
Felix Stegmaier
2f7bf01ee3 Turn binary_heap::Kind into a sealed trait 2019-05-19 13:57:45 +02:00
bors[bot]
8510b0171c Merge #96
96: add Pool.grow_exact API r=japaric a=japaric



Co-authored-by: Jorge Aparicio <jorge@japaric.io>
2019-05-06 16:56:51 +00:00
Jorge Aparicio
4810cd3681 add Pool.grow_exact API 2019-05-06 18:56:12 +02:00
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