Skip to content

Commit

Permalink
Update rustc requirements in preparation for release
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Aug 11, 2019
1 parent 80d2a3b commit b2d1aa8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)

Expand Down
3 changes: 1 addition & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
3 changes: 1 addition & 2 deletions examples/heapsize/README.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down

0 comments on commit b2d1aa8

Please sign in to comment.