Release 0.14.0
diff --git a/Cargo.toml b/Cargo.toml
index c76501a..578a6bf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "syn"
-version = "0.13.11" # don't forget to update html_root_url
+version = "0.14.0" # don't forget to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT/Apache-2.0"
description = "Nom parser for Rust source code"
diff --git a/README.md b/README.md
index abaa696..8befe5a 100644
--- a/README.md
+++ b/README.md
@@ -3,7 +3,7 @@
[](https://travis-ci.org/dtolnay/syn)
[](https://crates.io/crates/syn)
-[](https://docs.rs/syn/0.13/syn/)
+[](https://docs.rs/syn/0.14/syn/)
[](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
@@ -42,11 +42,11 @@
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.13/syn/struct.File.html
-[`syn::Item`]: https://docs.rs/syn/0.13/syn/enum.Item.html
-[`syn::Expr`]: https://docs.rs/syn/0.13/syn/enum.Expr.html
-[`syn::Type`]: https://docs.rs/syn/0.13/syn/enum.Type.html
-[`syn::DeriveInput`]: https://docs.rs/syn/0.13/syn/struct.DeriveInput.html
+[`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
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
@@ -70,8 +70,8 @@
```toml
[dependencies]
-syn = "0.13"
-quote = "0.5"
+syn = "0.14"
+quote = "0.6"
[lib]
proc-macro = true
@@ -260,8 +260,8 @@
```toml
[dependencies]
-syn = "0.13"
-proc-macro2 = { version = "0.3", features = ["nightly"] }
+syn = "0.14"
+proc-macro2 = { version = "0.4", features = ["nightly"] }
```
## License
diff --git a/examples/trace-var/README.md b/examples/trace-var/README.md
index f8dde65..45eace7 100644
--- a/examples/trace-var/README.md
+++ b/examples/trace-var/README.md
@@ -42,7 +42,7 @@
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.13/syn/fold/trait.Fold.html
+[`Fold`]: https://docs.rs/syn/0.14/syn/fold/trait.Fold.html
```rust
// Before
diff --git a/src/lib.rs b/src/lib.rs
index 0131c13..0bd3c69 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -68,8 +68,8 @@
//!
//! ```toml
//! [dependencies]
-//! syn = "0.13"
-//! quote = "0.5"
+//! syn = "0.14"
+//! quote = "0.6"
//!
//! [lib]
//! proc-macro = true
@@ -258,7 +258,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/0.13.11")]
+#![doc(html_root_url = "https://docs.rs/syn/0.14.0")]
#![cfg_attr(feature = "cargo-clippy", deny(clippy, clippy_pedantic))]
// Ignored clippy lints.
#![cfg_attr(