Skip to content

Commit

Permalink
array_map features is on stable rust:
Browse files Browse the repository at this point in the history
- Cargo - add rust_version
- lib - Remove doc comment for stabilization
  • Loading branch information
elpiel committed Jun 12, 2022
1 parent 87511e4 commit 919093d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,11 @@ categories = ["data-structures", "no-std"]
documentation = "https://docs.rs/holodeque"
repository = "https://github.com/dataphract/holodeque"
readme = "README.md"
version = "0.2.0" # if changed, html_root_url must also be changed!
version = "0.2.1" # if changed, html_root_url must also be changed!
edition = "2018"

rust_version = "1.55.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
Expand Down
8 changes: 1 addition & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
//! This crate provides [`ArrayDeque`] and [`SliceDeque`], fixed-size ring
//! buffers with interfaces similar to the standard library's [`VecDeque`].
//!
//! `holodeque` makes use of the unstable [`array_map`] feature to provide
//! `Default` initialization of arbitrarily-sized arrays. As a result, **a
//! `nightly` compiler is required until this feature is stabilized**. See the
//! [tracking issue] for its current status.
//!
//! [`VecDeque`]: https://doc.rust-lang.org/std/collections/struct.VecDeque.html
//! [`array_map`]: https://doc.rust-lang.org/unstable-book/library-features/array-map.html
//! [tracking issue]: https://github.com/rust-lang/rust/issues/75243
Expand Down Expand Up @@ -84,11 +79,10 @@
//! [`MaybeUninit`]: https://doc.rust-lang.org/core/mem/union.MaybeUninit.html
//! [`tinyvec`]: https://docs.rs/tinyvec
#![feature(array_map)]
#![forbid(unsafe_code)]
#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]
#![doc(html_root_url = "https://docs.rs/holodeque/0.2.0")]
#![doc(html_root_url = "https://docs.rs/holodeque/0.2.1")]

pub mod array_deque;
mod meta;
Expand Down

0 comments on commit 919093d

Please sign in to comment.