Merge 5e9b5a87aa377b86f0e71849a6fc2dabcfb12414 on remote branch
Change-Id: I11abb14e7a83a152f6797f9557957a411bb8499e
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
index 9f048f0..14919dc 100644
--- a/.cargo_vcs_info.json
+++ b/.cargo_vcs_info.json
@@ -1,5 +1,5 @@
{
"git": {
- "sha1": "4911818fcf5105eb3d3b99b8e583271ef668146c"
+ "sha1": "08c79b5e2348a4b44cac8860612c9ee1f5518544"
}
}
diff --git a/Cargo.toml b/Cargo.toml
index 819ef60..8900cdc 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,11 +12,11 @@
[package]
name = "itoa"
-version = "0.4.6"
+version = "0.4.7"
authors = ["David Tolnay <dtolnay@gmail.com>"]
exclude = ["performance.png"]
description = "Fast functions for printing integer primitives to an io::Write"
-documentation = "https://github.com/dtolnay/itoa"
+documentation = "https://docs.rs/itoa"
readme = "README.md"
categories = ["value-formatting"]
license = "MIT OR Apache-2.0"
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index 82a1934..0192401 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,11 +1,11 @@
[package]
name = "itoa"
-version = "0.4.6" # remember to update html_root_url
+version = "0.4.7" # remember to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
license = "MIT OR Apache-2.0"
description = "Fast functions for printing integer primitives to an io::Write"
repository = "https://github.com/dtolnay/itoa"
-documentation = "https://github.com/dtolnay/itoa"
+documentation = "https://docs.rs/itoa"
categories = ["value-formatting"]
readme = "README.md"
exclude = ["performance.png"]
diff --git a/METADATA b/METADATA
index 602bef6..8ced762 100644
--- a/METADATA
+++ b/METADATA
@@ -7,13 +7,13 @@
}
url {
type: ARCHIVE
- value: "https://static.crates.io/crates/itoa/itoa-0.4.6.crate"
+ value: "https://static.crates.io/crates/itoa/itoa-0.4.7.crate"
}
- version: "0.4.6"
+ version: "0.4.7"
license_type: NOTICE
last_upgrade_date {
year: 2020
- month: 8
- day: 21
+ month: 12
+ day: 29
}
}
diff --git a/TEST_MAPPING b/TEST_MAPPING
new file mode 100644
index 0000000..b4e52d2
--- /dev/null
+++ b/TEST_MAPPING
@@ -0,0 +1,8 @@
+// Generated by cargo2android.py for tests that depend on this crate.
+{
+ "presubmit": [
+ {
+ "name": "url_device_test_src_lib"
+ }
+ ]
+}
diff --git a/benches/bench.rs b/benches/bench.rs
index c3b5500..a9ed517 100644
--- a/benches/bench.rs
+++ b/benches/bench.rs
@@ -68,7 +68,7 @@
}
}
-benches!{
+benches! {
bench_u64_0(0u64),
bench_u64_half(<u32>::max_value() as u64),
bench_u64_max(<u64>::max_value()),
diff --git a/src/lib.rs b/src/lib.rs
index fe55012..d7bc81c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -56,12 +56,12 @@
//! }
//! ```
-#![doc(html_root_url = "https://docs.rs/itoa/0.4.6")]
+#![doc(html_root_url = "https://docs.rs/itoa/0.4.7")]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(feature = "cargo-clippy", allow(renamed_and_removed_lints))]
#![cfg_attr(
feature = "cargo-clippy",
- allow(const_static_lifetime, transmute_ptr_to_ptr),
+ allow(const_static_lifetime, transmute_ptr_to_ptr)
)]
#[cfg(feature = "i128")]
diff --git a/tests/test.rs b/tests/test.rs
index dd8d494..5355868 100644
--- a/tests/test.rs
+++ b/tests/test.rs
@@ -1,7 +1,4 @@
-#![cfg_attr(
- feature = "cargo-clippy",
- allow(cast_lossless, string_lit_as_bytes)
-)]
+#![cfg_attr(feature = "cargo-clippy", allow(cast_lossless, string_lit_as_bytes))]
#![allow(non_snake_case)]
extern crate itoa;
@@ -32,7 +29,7 @@
}
}
-test!{
+test! {
test_u64_0(0u64, "0"),
test_u64_half(<u32>::max_value() as u64, "4294967295"),
test_u64_max(<u64>::max_value(), "18446744073709551615"),