37 Commits

Author SHA1 Message Date
Brendan Molloy
345cafbdef Add tests 2021-08-04 20:40:38 +02:00
Brendan Molloy
e3cfa98b2f Handle heterogenous vector sizes 2021-08-04 20:40:38 +02:00
Brendan Molloy
f1f48b3c85 Add Ord and PartialOrd to String 2021-08-04 18:03:58 +02:00
Emil Fresk
58cb279aec IndexMap::new() is now a const-fn 2021-04-19 21:36:38 +02:00
Emil Fresk
12682bdfd8 Removed unnecessary String interface, already covered by core 2021-04-01 19:44:07 +02: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
Jorge Aparicio
cb8179a30e run cargo fmt 2019-12-18 12:41:17 +01:00
Harry Sarson
17180a1a55
remove unnecessary parentheses
This commit handles a new rustc warning currently in nightly
2019-12-16 11:43:26 +00:00
Jorge Aparicio
af13418f72 fix deprecation warnings 2019-07-12 00:22:27 +02:00
Jorge Aparicio
fc4054571f drop const-fn feature; provide const constructors on near stable (1.36) 2019-05-06 17:13:15 +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
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
Felix Stegmaier
1db3ed6822 Implement Default for String 2019-02-10 13:24:20 +01: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
Artem Vorotnikov
a56a7ce299
impl Hash for Vec and String 2019-02-05 21:36:39 +03:00
Artem Vorotnikov
4b09a24573
impl Clone for all containers 2019-02-05 18:19:41 +03:00
Artem Vorotnikov
8b7802f352
Implement FromStr for String 2019-01-20 17:25:48 +03:00
Georg Brandl
ce6a4a2a2b implement Display for String 2018-11-12 19:30:13 +01:00
Jorge Aparicio
9c89b3ea49 cargo fmt 2018-10-19 19:34:00 +02:00
Felix Stegmaier
123f489ad6 Add tests for static new methods 2018-05-21 21:19:50 +02:00
Felix Stegmaier
512ce719ed Fix missing_docs in const_fn macro 2018-05-19 12:25:30 +02:00
Felix
23b301362b WIP const_fn macro 2018-05-19 01:23:10 +02:00
Jorge Aparicio
c1892739f7 drop untagged-option dependency, and depend on generic-array 2018-04-22 00:41:13 +02:00
Jorge Aparicio
9fc5f71799 elide bounds check in Vec.deref{,_mut} 2018-04-13 16:21:21 +02:00
Mike Hommey
c5b5a53ed3 Add AsMut and AsRef implementations for Vec and String 2018-03-07 15:04:11 +09:00
Jorge Aparicio
95893d4155 v0.2.2 2018-03-01 20:38:38 +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
Per
f43e08fd91 debug test 2018-03-01 19:25:00 +01:00
Per Lindgren
faad961e9c add String 2018-03-01 19:00:55 +01:00