Skip to content

Commit

Permalink
Document MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNeikos authored and marcianx committed Sep 1, 2023
1 parent 17bbb03 commit 8fd5fe6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# downcast-rs

[![Build status](https://img.shields.io/github/actions/workflow/status/marcianx/downcast-rs/main.yml?branch=master)](https://github.com/marcianx/downcast-rs/actions)
[![Latest version](https://img.shields.io/crates/v/downcast-rs.svg)](https://crates.io/crates/downcast-rs)
[![Documentation](https://docs.rs/downcast-rs/badge.svg)](https://docs.rs/downcast-rs)
Expand Down Expand Up @@ -33,8 +31,7 @@ To make a trait downcastable, make it extend either `downcast::Downcast` or
`downcast::DowncastSync` and invoke `impl_downcast!` on it as in the examples
below.

Since 1.1.0, the minimum supported Rust version is 1.33 to support `Rc` and `Arc`
in the receiver position.
Since 1.2.0, the minimum supported Rust version is 1.36 due to needing stable access to alloc.

```rust
trait Trait: Downcast {}
Expand Down
3 changes: 1 addition & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
//! `downcast::DowncastSync` and invoke `impl_downcast!` on it as in the examples
//! below.
//!
//! Since 1.1.0, the minimum supported Rust version is 1.33 to support `Rc` and `Arc`
//! in the receiver position.
//! Since 1.2.0, the minimum supported Rust version is 1.36 due to needing stable access to alloc.
//!
//! ```
//! # #[macro_use]
Expand Down

0 comments on commit 8fd5fe6

Please sign in to comment.