mirror of
https://github.com/rust-embedded/heapless.git
synced 2025-10-01 06:20:34 +00:00
commit
f9ae8639e9
@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
|
|||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
|
- updated from edition 2018 to edition 2021
|
||||||
- [breaking-change] `IndexMap` and `IndexSet` now require that keys implement the `core::hash::Hash`
|
- [breaking-change] `IndexMap` and `IndexSet` now require that keys implement the `core::hash::Hash`
|
||||||
trait instead of the `hash32::Hash` (v0.2.0) trait
|
trait instead of the `hash32::Hash` (v0.2.0) trait
|
||||||
- move `pool::singleton::Box` to the `pool::box` module
|
- move `pool::singleton::Box` to the `pool::box` module
|
||||||
|
@ -7,7 +7,7 @@ authors = [
|
|||||||
categories = ["data-structures", "no-std"]
|
categories = ["data-structures", "no-std"]
|
||||||
description = "`static` friendly data structures that don't require dynamic memory allocation"
|
description = "`static` friendly data structures that don't require dynamic memory allocation"
|
||||||
documentation = "https://docs.rs/heapless"
|
documentation = "https://docs.rs/heapless"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
keywords = ["static", "no-heap"]
|
keywords = ["static", "no-heap"]
|
||||||
license = "MIT OR Apache-2.0"
|
license = "MIT OR Apache-2.0"
|
||||||
name = "heapless"
|
name = "heapless"
|
||||||
|
@ -75,8 +75,6 @@
|
|||||||
|
|
||||||
#![cfg_attr(not(test), no_std)]
|
#![cfg_attr(not(test), no_std)]
|
||||||
#![deny(missing_docs)]
|
#![deny(missing_docs)]
|
||||||
#![deny(rust_2018_compatibility)]
|
|
||||||
#![deny(rust_2018_idioms)]
|
|
||||||
#![deny(warnings)]
|
#![deny(warnings)]
|
||||||
|
|
||||||
pub use binary_heap::BinaryHeap;
|
pub use binary_heap::BinaryHeap;
|
||||||
|
@ -1,7 +1,4 @@
|
|||||||
use core::{
|
use core::{cmp::Ordering, fmt, hash, iter::FromIterator, mem::MaybeUninit, ops, ptr, slice};
|
||||||
cmp::Ordering, convert::TryFrom, fmt, hash, iter::FromIterator, mem::MaybeUninit, ops, ptr,
|
|
||||||
slice,
|
|
||||||
};
|
|
||||||
|
|
||||||
/// A fixed capacity [`Vec`](https://doc.rust-lang.org/std/vec/struct.Vec.html)
|
/// A fixed capacity [`Vec`](https://doc.rust-lang.org/std/vec/struct.Vec.html)
|
||||||
///
|
///
|
||||||
|
Loading…
x
Reference in New Issue
Block a user