aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2020-05-01 02:22:46 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-05-01 02:22:46 +0000
commit1c4ac1336658aa8844afe0844aa0aef79c48c5dc (patch)
tree429c50e69fa7274e5e6609e77281c6501d2ca1e9
parenta7180e68634cceeba727e2fd9fce0a6b193e988f (diff)
parentfee3bb7f1d7829578e7428f08b45ed17728c24b1 (diff)
downloadplatform_external_rust_crates_quote-1c4ac1336658aa8844afe0844aa0aef79c48c5dc.tar.gz
platform_external_rust_crates_quote-1c4ac1336658aa8844afe0844aa0aef79c48c5dc.tar.bz2
platform_external_rust_crates_quote-1c4ac1336658aa8844afe0844aa0aef79c48c5dc.zip
Upgrade rust/crates/quote to 1.0.4 am: 202ace9be4 am: fee3bb7f1d
Change-Id: I9ba06183d0aafeacd85a0cc8334d6f92570ebb04
-rw-r--r--.cargo_vcs_info.json2
-rw-r--r--Cargo.toml4
-rw-r--r--Cargo.toml.orig5
-rw-r--r--METADATA6
-rw-r--r--README.md3
-rw-r--r--src/ident_fragment.rs2
-rw-r--r--src/lib.rs2
7 files changed, 14 insertions, 10 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
index 5388292..476b5b3 100644
--- a/.cargo_vcs_info.json
+++ b/.cargo_vcs_info.json
@@ -1,5 +1,5 @@
{
"git": {
- "sha1": "e0300930fa4a8b448c4ff39f499dd4d2fcb0f17d"
+ "sha1": "cc50e29dad9ed20ceb1c3a3e42ad914b1a1f9bda"
}
}
diff --git a/Cargo.toml b/Cargo.toml
index fa5dc59..9ccce1c 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@
[package]
edition = "2018"
name = "quote"
-version = "1.0.3"
+version = "1.0.4"
authors = ["David Tolnay <dtolnay@gmail.com>"]
include = ["Cargo.toml", "src/**/*.rs", "tests/**/*.rs", "README.md", "LICENSE-APACHE", "LICENSE-MIT"]
description = "Quasi-quoting macro quote!(...)"
@@ -23,6 +23,8 @@ keywords = ["syn"]
categories = ["development-tools::procedural-macro-helpers"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/dtolnay/quote"
+[package.metadata.docs.rs]
+targets = ["x86_64-unknown-linux-gnu"]
[dependencies.proc-macro2]
version = "1.0"
default-features = false
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index ae3963f..f40411a 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,6 +1,6 @@
[package]
name = "quote"
-version = "1.0.3" # don't forget to update html_root_url, version in readme for breaking changes
+version = "1.0.4" # don't forget to update html_root_url, version in readme for breaking changes
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Quasi-quoting macro quote!(...)"
@@ -27,3 +27,6 @@ proc-macro = ["proc-macro2/proc-macro"]
[badges]
travis-ci = { repository = "dtolnay/quote" }
+
+[package.metadata.docs.rs]
+targets = ["x86_64-unknown-linux-gnu"]
diff --git a/METADATA b/METADATA
index 13a9707..3b70652 100644
--- a/METADATA
+++ b/METADATA
@@ -9,11 +9,11 @@ third_party {
type: GIT
value: "https://github.com/dtolnay/quote"
}
- version: "1.0.3"
+ version: "1.0.4"
license_type: NOTICE
last_upgrade_date {
year: 2020
- month: 3
- day: 20
+ month: 4
+ day: 30
}
}
diff --git a/README.md b/README.md
index 7c7f743..8d6bd39 100644
--- a/README.md
+++ b/README.md
@@ -28,8 +28,7 @@ This crate is motivated by the procedural macro use case, but is a
general-purpose Rust quasi-quoting library and is not specific to procedural
macros.
-*Version requirement: Quote supports any compiler version back to Rust's very
-first support for procedural macros in Rust 1.15.0.*
+*Version requirement: Quote supports rustc 1.31 and up.*
[*Release notes*](https://github.com/dtolnay/quote/releases)
diff --git a/src/ident_fragment.rs b/src/ident_fragment.rs
index 7e5d376..c8198cc 100644
--- a/src/ident_fragment.rs
+++ b/src/ident_fragment.rs
@@ -68,5 +68,5 @@ macro_rules! ident_fragment_display {
}
}
-ident_fragment_display!(bool, str, String);
+ident_fragment_display!(bool, str, String, char);
ident_fragment_display!(u8, u16, u32, u64, u128, usize);
diff --git a/src/lib.rs b/src/lib.rs
index ad12230..86d91eb 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -75,7 +75,7 @@
#![forbid(unsafe_code)]
// Quote types in rustdoc of other crates get linked to here.
-#![doc(html_root_url = "https://docs.rs/quote/1.0.3")]
+#![doc(html_root_url = "https://docs.rs/quote/1.0.4")]
#[cfg(all(
not(all(target_arch = "wasm32", target_os = "unknown")),