548 Commits

Author SHA1 Message Date
Emil Fresk
aee0817491
Merge pull request #199 from kpp/const_generics
Fix several issues in const generics
2021-03-30 17:15:37 +02:00
Roman Proskuryakov
5bde47c214 Fix cfail tests 2021-03-28 11:04:39 +03:00
Roman Proskuryakov
7fb276f6dc Fix warnings in src/indexmap.rs 2021-03-28 11:04:39 +03:00
Roman Proskuryakov
92cc062a4c Fix cargo test without cargo features enabled 2021-03-28 10:22:22 +03:00
Emil Fresk
11c9bd3de4
Merge pull request #197 from syrusakbary/patch-1
Fix typo
2021-03-28 08:57:03 +02:00
Roman Proskuryakov
a3f4d8f41e Update minimal Rust version from 1.31 to 1.51 2021-03-28 09:49:34 +03:00
Roman Proskuryakov
f7cb3e575f Fix fmt 2021-03-28 09:48:34 +03:00
Syrus Akbary
de20c36cf2
Fix typo 2021-03-26 11:19:17 +01:00
Emil Fresk
3de878b09e Cleanup 2021-03-25 19:42:21 +01:00
Emil Fresk
305de719f6 Fixed warnings 2021-03-25 17:52:15 +01:00
Emil Fresk
8ba71d4b14 Merge branch 'master' into const_generics 2021-03-25 17:45:10 +01:00
Emil Fresk
6dcedb89f3 Fixes for min const generics 2021-03-25 16:51:38 +01:00
Per Lindgren
f962e3a45f Initial conversion to const generics
vec passes tests

vec passes tests with docs as well (besides one with FromIter)

vec passes tests with docs as well (besides one with FromIter)

exposing full API

passing all current tests

starting with string

string test passes mostly

string test passes

ufmt passes

TODO removed

binary_heap wip

binary_heap passes tests

sealed passes

spsc wip

spsc wip2

split wip3

spcs and split passes --lib tests

spcs and split passes --lib tests

spcs and split passes --lib tests

spcs and split passes all tests (doc + lib)

indexmap wip

indexmap passes --lib test

indexmap passes all tests (lib + doc)

indexset passes all tests (lib + doc)

indexset passes all tests (lib + doc)

linear map wip

linear map all test (lib + doc) passes, drop not tested, into_iter(mut self) not implemented

history buffer all test pass (doc + lib), Copy instead of clone atm

serde does not work

pool works, serde still not

serde wip

serde wip

serde wip

serde wip
2021-03-25 16:31:58 +01:00
samlich
6ba462eb93 String: add as_mut_vec 2021-03-25 16:30:45 +01:00
samlich
0364e05766 Vec: add set_len 2021-03-25 16:30:45 +01:00
Andres Vahter
9e08514d39 histbuf: fix style 2021-03-25 16:30:45 +01:00
Andres Vahter
26dcfa3ae6 histbuf: replace slow modulo operatins
on cortex m0  `%` is extremely costly
2021-03-25 16:30:45 +01:00
Andres Vahter
0ab806d5cd readme: add instructions for tests 2021-03-25 16:30:45 +01:00
Willem
1790c4f30f indexmap: expose PowerOfTwo, Bucket and Pos
This change allows the create custom structs with size arguments outside
the heapless crate itself.
2021-03-25 16:30:45 +01:00
Bryan Kadzban
87917e059b Make Producer<..., SingleCore> Send, like Consumer
I assume there's no reason that only multi-core Producers are marked
Send, while Consumers are not (they're pretty symmetrical).
2021-03-25 16:30:45 +01:00
Emil Fresk
357a312dba Preparing for v0.5.5 2021-03-25 16:30:45 +01:00
Jorge Aparicio
b0129f5408 1.36.0 compatibility 2021-03-25 16:30:45 +01:00
Jorge Aparicio
b9d7128e1e x86: put Sync impl behind a Cargo feature 2021-03-25 16:30:45 +01:00
Jorge Aparicio
596a1f03f1 fix warnings 2021-03-25 16:30:45 +01:00
Jorge Aparicio
e4580da8a8 x86_64: "practically" thread-safe Pool 2021-03-25 16:30:45 +01:00
Emil Fresk
b3877665f8
Merge pull request #196 from AfoHT/removetravis
Remove traces of Travis
2021-03-02 16:06:25 +01:00
Emil Fresk
96f38a6f73
Merge pull request #194 from AfoHT/release_0.6.1
Release v0.6.1
v0.6.1
2021-03-02 15:51:48 +01:00
Henrik Tjäder
5212d7ebb5 Remove traces of Travis 2021-03-02 15:50:01 +01:00
Emil Fresk
e67c9859e0 Release v0.6.1 2021-03-02 15:46:39 +01:00
Emil Fresk
304cd02cd7
Merge pull request #195 from AfoHT/clone_drop_fix
Fix the clone drop issue
2021-03-02 15:45:15 +01:00
Emil Fresk
4ac126e54c Fix the clone drop issue 2021-03-02 15:39:02 +01:00
Emil Fresk
4499eda03d
Merge pull request #192 from AfoHT/updategenericarray
Update generic-array and as-slice to security patched versions
2021-03-02 15:01:02 +01:00
Henrik Tjäder
c464710c81 Update as-slice to patched version 2021-03-02 14:52:59 +01:00
Henrik Tjäder
47906b7981 Changes to version 0.14.4 of generic-array
Resolves RUSTSEC-2020-0145
2021-03-02 14:15:44 +01:00
Emil Fresk
7586332e3d Remove travis 2021-02-08 08:57:46 +01:00
Emil Fresk
b107f928b6 Fmt 2021-02-08 08:54:59 +01:00
Emil Fresk
97af6fe8ea
Merge pull request #159 from rjsberry/box-forget
Implement Box::forget for the singleton pool
2021-02-08 08:49:49 +01:00
Emil Fresk
4afa223fbe
Merge pull request #189 from nickray/ga-14
Bump generic-array to v0.14.2 (MSRV remains the same)
v0.6.0
2021-02-03 09:36:14 +01:00
nicolas-solokeys
d60b0e2c39 Bump generic-array to v0.14.2 (MSRV remains the same) 2021-02-02 20:57:33 +01:00
Emil Fresk
ae7ce354a8
Merge pull request #188 from AfoHT/ghafix
Remove GHA ci-failure job
2021-01-20 09:37:14 +01:00
Henrik Tjäder
8c513b7fc1 Remove GHA ci-failure job 2021-01-19 20:43:54 +01:00
Emil Fresk
868aebfbad
Merge pull request #187 from Lotterleben/indexDoc
IndexMap, IndexSet: hint to FnvIndex...: Extend explanation, add examples & links
2020-12-17 16:13:54 +01:00
Emil Fresk
fdd7b48ef5
Merge pull request #186 from AfoHT/gha
First GitHub Actions test
2020-12-17 16:13:00 +01:00
Lotte Steenbrink
61b85596cf IndexMap, IndexSet: hint to FnvIndex... in the docs, copy examples to Fnv... docs, add direct links 2020-12-16 10:23:01 +01:00
Henrik Tjäder
430a8d4379 Limit tests to one thread 2020-12-10 17:54:52 +00:00
Henrik Tjäder
2862779617 First GitHub Actions test 2020-12-10 17:54:52 +00:00
Emil Fresk
71188c3202
Merge pull request #185 from AfoHT/cargofmt
Cargo format
2020-12-03 20:50:48 +01:00
Henrik Tjäder
e1177dfd5b Run cargo fmt 2020-12-03 19:23:44 +00:00
Emil Fresk
70687d8ace
Merge pull request #182 from almusil/expose_len_for_consumer_producer
Queue: Expose len and capacity for Consumer and Producer
2020-11-30 15:55:04 +01:00
Ales Musil
5823e4785a Queue: Expose len and capacity for Consumer and Producer
It is usefull to know in advance the space that is
occupied by the items in queue.
2020-11-03 11:29:17 +01:00