Update to 2018 edition and rust 1.31+

This commit is contained in:
David Tolnay 2021-12-11 00:14:08 -08:00
parent 96eef6ef6e
commit 341086a6ff
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
3 changed files with 4 additions and 19 deletions

View File

@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust: [nightly, beta, stable, 1.26.0]
rust: [nightly, beta, stable, 1.31.0]
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@master
@ -28,22 +28,6 @@ jobs:
- run: cargo bench --no-run --features i128
if: matrix.rust == 'nightly'
mintest:
name: Rust 1.20.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@1.20.0
- run: cargo test
msrv:
name: Rust 1.0.0
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@1.0.0
- run: cargo build
miri:
name: Miri
runs-on: ubuntu-latest

View File

@ -2,7 +2,7 @@
name = "itoa"
version = "0.4.8" # remember to update html_root_url
authors = ["David Tolnay <dtolnay@gmail.com>"]
rust-version = "1.0"
rust-version = "1.31"
license = "MIT OR Apache-2.0"
description = "Fast functions for printing integer primitives to an io::Write"
repository = "https://github.com/dtolnay/itoa"
@ -10,6 +10,7 @@ documentation = "https://docs.rs/itoa"
categories = ["value-formatting"]
readme = "README.md"
exclude = ["performance.png"]
edition = "2018"
[features]
default = ["std"]

View File

@ -13,7 +13,7 @@ This crate provides fast functions for printing integer primitives to an
See also [`dtoa`] for printing floating point primitives.
*Version requirement: rustc 1.0+*
*Version requirement: rustc 1.31+*
[`io::Write`]: https://doc.rust-lang.org/std/io/trait.Write.html
[`fmt::Write`]: https://doc.rust-lang.org/core/fmt/trait.Write.html