Update to 2018 edition and rust 1.31+
This commit is contained in:
parent
96eef6ef6e
commit
341086a6ff
|
@ -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
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue