Skip to content

Commit

Permalink
Release 0.15.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 6, 2018
1 parent a1c9807 commit b28acf3
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[package]
name = "syn-next"
version = "0.15.0-rc4" # don't forget to update html_root_url
name = "syn"
version = "0.15.0" # don't forget to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT/Apache-2.0"
description = "Parser for Rust source code"
repository = "https://github.com/dtolnay/syn/tree/next"

This comment has been minimized.

Copy link
@atouchet

atouchet Sep 6, 2018

@dtolnay was this URL supposed to be changed as well?

This comment has been minimized.

Copy link
@dtolnay

dtolnay Sep 6, 2018

Author Owner

Yes it was, thanks. Fixed in 0.15.1.

documentation = "https://docs.rs/syn-next"
documentation = "https://docs.rs/syn"
categories = ["development-tools::procedural-macro-helpers"]
readme = "README.md"
include = ["/Cargo.toml", "/src/**/*.rs", "/README.md", "/LICENSE-APACHE", "/LICENSE-MIT"]
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,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.14/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)

Syn is a parsing library for parsing a stream of Rust tokens into a syntax tree
Expand Down Expand Up @@ -41,12 +41,12 @@ contains some APIs that may be useful more generally.
procedural macros enable only what they need, and do not pay in compile time
for all the rest.

[`syn::File`]: https://docs.rs/syn/0.14/syn/struct.File.html
[`syn::Item`]: https://docs.rs/syn/0.14/syn/enum.Item.html
[`syn::Expr`]: https://docs.rs/syn/0.14/syn/enum.Expr.html
[`syn::Type`]: https://docs.rs/syn/0.14/syn/enum.Type.html
[`syn::DeriveInput`]: https://docs.rs/syn/0.14/syn/struct.DeriveInput.html
[parser functions]: https://docs.rs/syn/0.14/syn/parse/index.html
[`syn::File`]: https://docs.rs/syn/0.15/syn/struct.File.html
[`syn::Item`]: https://docs.rs/syn/0.15/syn/enum.Item.html
[`syn::Expr`]: https://docs.rs/syn/0.15/syn/enum.Expr.html
[`syn::Type`]: https://docs.rs/syn/0.15/syn/enum.Type.html
[`syn::DeriveInput`]: https://docs.rs/syn/0.15/syn/struct.DeriveInput.html
[parser functions]: https://docs.rs/syn/0.15/syn/parse/index.html

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
Expand All @@ -72,7 +72,7 @@ tokens back to the compiler to compile into the user's crate.

```toml
[dependencies]
syn = "0.14"
syn = "0.15"
quote = "0.6"

[lib]
Expand Down Expand Up @@ -261,7 +261,7 @@ On a nightly compiler, to eliminate the stable shim and use the compiler's

```toml
[dependencies]
syn = "0.14"
syn = "0.15"
proc-macro2 = { version = "0.4", features = ["nightly"] }
```

Expand Down
2 changes: 1 addition & 1 deletion codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["Nika Layzell <nika@thelayzells.com>"]
publish = false # this is an internal crate which should never be published

[dependencies]
syn-next = { path = "..", features = ["full", "extra-traits"] }
syn = { path = "..", features = ["full", "extra-traits"] }
quote = "0.6"
failure = "0.1"
inflections = "1.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/trace-var/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ n = 1
The procedural macro uses a syntax tree [`Fold`] to rewrite every `let`
statement and assignment expression in the following way:

[`Fold`]: https://docs.rs/syn/0.14/syn/fold/trait.Fold.html
[`Fold`]: https://docs.rs/syn/0.15/syn/fold/trait.Fold.html

```rust
// Before
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
//!
//! ```toml
//! [dependencies]
//! syn = "0.14"
//! syn = "0.15"
//! quote = "0.6"
//!
//! [lib]
Expand Down Expand Up @@ -255,7 +255,7 @@
//! dynamic library libproc_macro from rustc toolchain.

// Syn types in rustdoc of other crates get linked to here.
#![doc(html_root_url = "https://docs.rs/syn-next/0.15.0-rc4")]
#![doc(html_root_url = "https://docs.rs/syn/0.15.0")]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
// Ignored clippy lints.
#![cfg_attr(
Expand Down

0 comments on commit b28acf3

Please sign in to comment.