From e62263ff706eff0452c28f8215cd0c5783079860 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sun, 20 May 2018 19:38:16 -0700 Subject: [PATCH] Release 0.6.0 --- Cargo.toml | 2 +- README.md | 10 +++++----- src/lib.rs | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index d96a570..a927919 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "quote" -version = "0.5.2" # don't forget to update html_root_url, version in readme for breaking changes +version = "0.6.0" # don't forget to update html_root_url, version in readme for breaking changes authors = ["David Tolnay "] license = "MIT/Apache-2.0" description = "Quasi-quoting macro quote!(...)" diff --git a/README.md b/README.md index 6f69083..1297405 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Rust Quasi-Quoting This crate provides the [`quote!`] macro for turning Rust syntax tree data structures into tokens of source code. -[`quote!`]: https://docs.rs/quote/0.5/quote/macro.quote.html +[`quote!`]: https://docs.rs/quote/0.6/quote/macro.quote.html Procedural macros in Rust receive a stream of tokens as input, execute arbitrary Rust code to determine how to manipulate those tokens, and produce a stream of @@ -33,7 +33,7 @@ first support for procedural macros in Rust 1.15.0.* ```toml [dependencies] -quote = "0.5" +quote = "0.6" ``` ```rust @@ -50,13 +50,13 @@ should think of `Tokens` as representing a fragment of Rust source code. Call or call `into()` to stream them as a `TokenStream` back to the compiler in a procedural macro. -[`quote::Tokens`]: https://docs.rs/quote/0.5/quote/struct.Tokens.html +[`quote::Tokens`]: https://docs.rs/quote/0.6/quote/struct.Tokens.html Within the `quote!` macro, interpolation is done with `#var`. Any type implementing the [`quote::ToTokens`] trait can be interpolated. This includes most Rust primitive types as well as most of the syntax tree types from [`syn`]. -[`quote::ToTokens`]: https://docs.rs/quote/0.5/quote/trait.ToTokens.html +[`quote::ToTokens`]: https://docs.rs/quote/0.6/quote/trait.ToTokens.html [`syn`]: https://github.com/dtolnay/syn ```rust @@ -110,7 +110,7 @@ are spanned with [`Span::def_site()`]. A different span can be provided explicitly through the [`quote_spanned!`] macro. -[`quote_spanned!`]: https://docs.rs/quote/0.5/quote/macro.quote_spanned.html +[`quote_spanned!`]: https://docs.rs/quote/0.6/quote/macro.quote_spanned.html ### Limitations diff --git a/src/lib.rs b/src/lib.rs index 5905faf..84f8d97 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -26,7 +26,7 @@ //! //! ```toml //! [dependencies] -//! quote = "0.5" +//! quote = "0.6" //! ``` //! //! ``` @@ -92,7 +92,7 @@ //! An even higher limit may be necessary for especially large invocations. // Quote types in rustdoc of other crates get linked to here. -#![doc(html_root_url = "https://docs.rs/quote/0.5.2")] +#![doc(html_root_url = "https://docs.rs/quote/0.6.0")] #[cfg(feature = "proc-macro")] extern crate proc_macro;