From b2d1aa80f133ffe06b1dd906804db31772108eaa Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 11 Aug 2019 15:01:50 -0700 Subject: [PATCH] Update rustc requirements in preparation for release --- README.md | 7 ++----- examples/README.md | 3 +-- examples/heapsize/README.md | 3 +-- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c4046441c7..a50455bbfa 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ Parser for Rust source code [![Build Status](https://api.travis-ci.org/dtolnay/syn.svg?branch=master)](https://travis-ci.org/dtolnay/syn) [![Latest Version](https://img.shields.io/crates/v/syn.svg)](https://crates.io/crates/syn) [![Rust Documentation](https://img.shields.io/badge/api-rustdoc-blue.svg)](https://docs.rs/syn/0.15/syn/) -[![Rustc Version 1.15+](https://img.shields.io/badge/rustc-1.15+-lightgray.svg)](https://blog.rust-lang.org/2017/02/02/Rust-1.15.html) +[![Rustc Version 1.31+](https://img.shields.io/badge/rustc-1.31+-lightgray.svg)](https://blog.rust-lang.org/2018/12/06/Rust-1.31-and-rust-2018.html) Syn is a parsing library for parsing a stream of Rust tokens into a syntax tree of Rust source code. @@ -50,10 +50,7 @@ If you get stuck with anything involving procedural macros in Rust I am happy to provide help even if the issue is not related to Syn. Please file a ticket in this repo. -*Version requirement: Syn supports any compiler version back to Rust's very -first support for procedural macros in Rust 1.15.0. Some features especially -around error reporting are only available in newer compilers or on the nightly -channel.* +*Version requirement: Syn supports rustc 1.31 and up.* [*Release notes*](https://github.com/dtolnay/syn/releases) diff --git a/examples/README.md b/examples/README.md index 7387f29fdb..fdd69d6a3b 100644 --- a/examples/README.md +++ b/examples/README.md @@ -5,8 +5,7 @@ debug representation of the syntax tree. ### [`heapsize`](heapsize) -A complete working implementation of a derive macro. Works on any Rust compiler -1.15+. +An example implementation of a derive macro that generates trait impls. ### [`lazy-static`](lazy-static) diff --git a/examples/heapsize/README.md b/examples/heapsize/README.md index 9361f4e884..e78955990d 100644 --- a/examples/heapsize/README.md +++ b/examples/heapsize/README.md @@ -1,5 +1,4 @@ -A complete working implementation of a derive macro. Written in Rust 2018 style -but otherwise works on any Rust compiler 1.15+. +A derive macro that generates trait impls. - [`heapsize/src/lib.rs`](heapsize/src/lib.rs) - [`heapsize_derive/src/lib.rs`](heapsize_derive/src/lib.rs)