aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2023-02-03 10:12:06 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2023-02-03 10:12:06 +0000
commite2ed2a56df8e9ae9fc4b07755639a3c3c0f5673f (patch)
tree78be25a2965dba0c8fc19b48749b6b08a6989b60
parentaeb7a85522c984d74a817d86fc4d2bef0d38bb9c (diff)
parentd92eced10c7a6747b3934b03c0a2ff57b8f5c3af (diff)
downloaditoa-e2ed2a56df8e9ae9fc4b07755639a3c3c0f5673f.tar.gz
Upgrade itoa to 1.0.5 am: 87401d8403 am: d92eced10c
Original change: https://android-review.googlesource.com/c/platform/external/rust/crates/itoa/+/2419141 Change-Id: Id3c31159aab747fab753c44684f4f3e479a03e47 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--.cargo_vcs_info.json2
-rw-r--r--.github/workflows/ci.yml5
-rw-r--r--Android.bp4
-rw-r--r--Cargo.toml2
-rw-r--r--Cargo.toml.orig2
-rw-r--r--METADATA10
-rw-r--r--README.md2
-rw-r--r--src/lib.rs2
8 files changed, 17 insertions, 12 deletions
diff --git a/.cargo_vcs_info.json b/.cargo_vcs_info.json
index 2a907dc..4917a0e 100644
--- a/.cargo_vcs_info.json
+++ b/.cargo_vcs_info.json
@@ -1,6 +1,6 @@
{
"git": {
- "sha1": "faae88d4eafc4efc720eca407032ae73ee2a173b"
+ "sha1": "ef4faeda61024dfb38b3897e46aeda8140828dc6"
},
"path_in_vcs": ""
} \ No newline at end of file
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index e399cef..d16faca 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -19,6 +19,7 @@ jobs:
fail-fast: false
matrix:
rust: [nightly, beta, stable, 1.36.0]
+ timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
@@ -38,6 +39,7 @@ jobs:
miri:
name: Miri
runs-on: ubuntu-latest
+ timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@miri
@@ -49,6 +51,7 @@ jobs:
name: Clippy
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
+ timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
@@ -57,6 +60,7 @@ jobs:
fuzz:
name: Fuzz
runs-on: ubuntu-latest
+ timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@nightly
@@ -67,6 +71,7 @@ jobs:
name: Outdated
runs-on: ubuntu-latest
if: github.event_name != 'pull_request'
+ timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/install@cargo-outdated
diff --git a/Android.bp b/Android.bp
index 79e14dd..efd510c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -43,7 +43,7 @@ rust_test {
host_supported: true,
crate_name: "test",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.4",
+ cargo_pkg_version: "1.0.5",
srcs: ["tests/test.rs"],
test_suites: ["general-tests"],
auto_gen_config: true,
@@ -61,7 +61,7 @@ rust_library {
host_supported: true,
crate_name: "itoa",
cargo_env_compat: true,
- cargo_pkg_version: "1.0.4",
+ cargo_pkg_version: "1.0.5",
srcs: ["src/lib.rs"],
edition: "2018",
apex_available: [
diff --git a/Cargo.toml b/Cargo.toml
index bab03ec..86c10b6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,7 +13,7 @@
edition = "2018"
rust-version = "1.36"
name = "itoa"
-version = "1.0.4"
+version = "1.0.5"
authors = ["David Tolnay <dtolnay@gmail.com>"]
exclude = [
"performance.png",
diff --git a/Cargo.toml.orig b/Cargo.toml.orig
index cf29a6c..a24b8e4 100644
--- a/Cargo.toml.orig
+++ b/Cargo.toml.orig
@@ -1,6 +1,6 @@
[package]
name = "itoa"
-version = "1.0.4" # remember to update html_root_url
+version = "1.0.5" # remember to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
categories = ["value-formatting", "no-std"]
description = "Fast integer primitive to string conversion"
diff --git a/METADATA b/METADATA
index cc56525..84449ae 100644
--- a/METADATA
+++ b/METADATA
@@ -11,13 +11,13 @@ third_party {
}
url {
type: ARCHIVE
- value: "https://static.crates.io/crates/itoa/itoa-1.0.4.crate"
+ value: "https://static.crates.io/crates/itoa/itoa-1.0.5.crate"
}
- version: "1.0.4"
+ version: "1.0.5"
license_type: NOTICE
last_upgrade_date {
- year: 2022
- month: 12
- day: 12
+ year: 2023
+ month: 2
+ day: 2
}
}
diff --git a/README.md b/README.md
index 914d1ff..5728fb7 100644
--- a/README.md
+++ b/README.md
@@ -4,7 +4,7 @@ itoa
[<img alt="github" src="https://img.shields.io/badge/github-dtolnay/itoa-8da0cb?style=for-the-badge&labelColor=555555&logo=github" height="20">](https://github.com/dtolnay/itoa)
[<img alt="crates.io" src="https://img.shields.io/crates/v/itoa.svg?style=for-the-badge&color=fc8d62&logo=rust" height="20">](https://crates.io/crates/itoa)
[<img alt="docs.rs" src="https://img.shields.io/badge/docs.rs-itoa-66c2a5?style=for-the-badge&labelColor=555555&logo=docs.rs" height="20">](https://docs.rs/itoa)
-[<img alt="build status" src="https://img.shields.io/github/workflow/status/dtolnay/itoa/CI/master?style=for-the-badge" height="20">](https://github.com/dtolnay/itoa/actions?query=branch%3Amaster)
+[<img alt="build status" src="https://img.shields.io/github/actions/workflow/status/dtolnay/itoa/ci.yml?branch=master&style=for-the-badge" height="20">](https://github.com/dtolnay/itoa/actions?query=branch%3Amaster)
This crate provides a fast conversion of integer primitives to decimal strings.
The implementation comes straight from [libcore] but avoids the performance
diff --git a/src/lib.rs b/src/lib.rs
index cbcd374..c03064f 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -30,7 +30,7 @@
//!
//! ![performance](https://raw.githubusercontent.com/dtolnay/itoa/master/performance.png)
-#![doc(html_root_url = "https://docs.rs/itoa/1.0.4")]
+#![doc(html_root_url = "https://docs.rs/itoa/1.0.5")]
#![no_std]
#![allow(
clippy::cast_lossless,