Release 0.15.0
diff --git a/Cargo.toml b/Cargo.toml
index 6c49d65..443410d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -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"
-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"]
diff --git a/README.md b/README.md
index 6c6e13f..e79b382 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.14/syn/)
+[](https://docs.rs/syn/0.15/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
@@ -41,12 +41,12 @@
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
@@ -72,7 +72,7 @@
```toml
[dependencies]
-syn = "0.14"
+syn = "0.15"
quote = "0.6"
[lib]
@@ -261,7 +261,7 @@
```toml
[dependencies]
-syn = "0.14"
+syn = "0.15"
proc-macro2 = { version = "0.4", features = ["nightly"] }
```
diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml
index e50dc42..ed5029b 100644
--- a/codegen/Cargo.toml
+++ b/codegen/Cargo.toml
@@ -6,7 +6,7 @@
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"
diff --git a/examples/trace-var/README.md b/examples/trace-var/README.md
index 45eace7..09f5f1a 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.14/syn/fold/trait.Fold.html
+[`Fold`]: https://docs.rs/syn/0.15/syn/fold/trait.Fold.html
```rust
// Before
diff --git a/src/lib.rs b/src/lib.rs
index 2fdec09..dc1ca34 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -65,7 +65,7 @@
//!
//! ```toml
//! [dependencies]
-//! syn = "0.14"
+//! syn = "0.15"
//! quote = "0.6"
//!
//! [lib]
@@ -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(