Skip to content

Commit

Permalink
Merge pull request #11 from artichoke/cargo-manifest-rust-version-msrv
Browse files Browse the repository at this point in the history
Add `rust-version` key to Cargo.toml manifest to declare MSRV
  • Loading branch information
lopopolo authored Nov 19, 2021
2 parents 7e09a57 + 42e5d13 commit 04dff23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
[package]
name = "raw-parts"
version = "1.0.1"
version = "1.0.2"
authors = ["Ryan Lopopolo <[email protected]>"]
edition = "2021"
rust-version = "1.56.0"
description = """
Ergonomic wrapper around `Vec::from_raw_parts` and `Vec::into_raw_parts`.
"""
Expand Down
6 changes: 3 additions & 3 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@

//! A wrapper around the decomposed parts of a `Vec<T>`.
//!
//! This struct contains the `Vec`'s internal pointer, length, and allocated
//! capacity.
//! This crate defines a struct that contains the `Vec`'s internal pointer,
//! length, and allocated capacity.
//!
//! [`RawParts`] makes [`Vec::from_raw_parts`] and [`Vec::into_raw_parts`] easier
//! to use by giving names to the returned values. This prevents errors from
Expand Down Expand Up @@ -53,7 +53,7 @@
//! raw-parts is `no_std` compatible with a required dependency on [`alloc`].

#![no_std]
#![doc(html_root_url = "https://docs.rs/raw-parts/1.0.1")]
#![doc(html_root_url = "https://docs.rs/raw-parts/1.0.2")]

// Ensure code blocks in `README.md` compile
#[cfg(doctest)]
Expand Down

0 comments on commit 04dff23

Please sign in to comment.