Devyn Cairns
00c9d23822
Replace `Vec::drain_filter` removal of empty pages with `Vec::retain`
...
Modern versions of Rust nightlies have renamed `Vec::drain_filter` to
`Vec::extract_if` and changed the semantics slightly, but we actually
don't even need it, because stable Rust has `Vec::retain` and we don't
need to do anything with the removed pages.
1 year ago
gramar
a0e7399d09
Add forgotten deserialize and default to a valid page size
2 years ago
gramar
4aa44bc9ac
Use regular map serialize
2 years ago
gramar
bd5c158529
Only test in test
2 years ago
gramar
6ec96bcb74
Fix a couple of misses in serde feature
2 years ago
gramar
5ad0e47252
Enable no_std
2 years ago
gramar
76333387c5
Add some methods to make the map more compatible with std HashMap
2 years ago
Avril
1a58d3a734
Removed stablalised feature flag for `const_fn_trait_bound`
...
Bumped bugfix version: Commit f98a5fc042
fixes deriving `Default` for types containing `smallmap::Map`.
Fortune for smallmap's current commit: Small curse − 小凶
3 years ago
marceline-cramer
f98a5fc042
Impl a better Default for Map
3 years ago
Avril
463e83ab31
primitive.rs: Fix doc typo.
...
Fortune for smallmap's current commit: Future blessing − 末吉
3 years ago
Avril
4841a77be2
`space`: Added `NonZeroU8Set` (alias to `NonZeroByteSet`) and `NonZeroI8Set`.
...
Fortune for smallmap's current commit: Small curse − 小凶
3 years ago
Avril
8b123afd31
Added tests to assert space guarantee for `space::` types.
...
Fortune for smallmap's current commit: Future small blessing − 末小吉
3 years ago
Avril
2fa2de9ad3
Fix `const_fn` feature gate rename (`const_fn_trait_bounds`)
...
Fortune for smallmap's current commit: Future small blessing − 末小吉
3 years ago
Avril
9eada00990
added shim primitives
4 years ago
Avril
78256a807b
primitives
4 years ago
Avril
21e3f37cf2
start primitive newtypes
...
Signed-off-by: Avril <flanchan@cumallover.me>
4 years ago
Avril
359ded0f60
Added impl FromIterator for Map
4 years ago
Avril
eb6e713c1d
added reverse
4 years ago
Avril
684e4c546d
fixed serde implementation; added macro
4 years ago
Avril
59790e584b
whoops
4 years ago
Avril
0602a12362
fix iter bug
4 years ago
Avril
007136df26
better collapse implementations
4 years ago
Avril
c853138e00
fix derive issue
4 years ago
Avril
1be0750563
fix doc example
4 years ago
Avril
e4a11ee8f8
documented
4 years ago
Avril
5d46a7bf6b
clean up
4 years ago
Avril
2eefaef0ae
small update
4 years ago
Avril
2c23e6fa1b
initial commit
4 years ago