Jorge Aparicio 730ab75741 [breaking-change] use hash32 v0.3.0
this release of `hash32` has the advantage that 32-bit hashers can be used to hash types that
implement the `core:#️⃣:Hash` trait removing the need for the `hash32::Hash` implementations in
this crate and the uses of the `#[derive(Hash32)]` macro (which did not support enums) in dependent
crates

with this change the following code works
``` rust
// NOTE no derive(Hash32)
struct Int(i32);

let mut x = FnvIndexSet::<_, 4>::default();
let _ = x.insert(Int(0));
```

this change is technically a breaking change because the following code is no longer accepted

``` rust
// assume this type comes from a dependency
// NOTE no derive(Hash)
struct Int(i32);

let mut x = FnvIndexSet::<_, 4>::default();
let _ = x.insert(Int(0)); // error: does not implement Hash
```
2022-08-12 15:57:01 +02:00
2022-08-10 15:32:19 +02:00
2021-04-27 19:03:12 +02:00
2022-08-12 15:57:01 +02:00
2022-06-15 15:11:11 +02:00
2022-08-12 15:57:01 +02:00
2022-08-09 15:47:24 +02:00
2017-03-05 00:30:10 -05:00
2017-03-05 00:30:10 -05:00
2020-05-09 19:46:06 +03:00

crates.io crates.io

heapless

static friendly data structures that don't require dynamic memory allocation

Documentation

Change log

Tests

# run all
cargo test --features 'serde','x86-sync-pool'
# run only for example histbuf tests
cargo test histbuf --features 'serde','x86-sync-pool'

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Description
Heapless, static friendly data structures
Readme 19 MiB
Languages
Rust 100%