Skip to content

Commit 0be636c

Browse files
committed
Raise MSRV to Rust 1.84.0, prep v1.2.0 release
`f64::abs` only recently became available in `no_std` crates: - rust-lang/rust#131304
1 parent 5330aec commit 0be636c

File tree

3 files changed

+12
-6
lines changed

3 files changed

+12
-6
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ jobs:
7373
- name: Install Rust toolchain
7474
uses: artichoke/setup-rust/[email protected]
7575
with:
76-
toolchain: "1.76.0"
76+
toolchain: "1.84.0"
7777

7878
- name: Compile
7979
run: cargo build --verbose

Cargo.toml

+9-3
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
[package]
22
name = "strftime-ruby"
33
# remember to set `html_root_url` in `src/lib.rs`.
4-
version = "1.1.0"
4+
version = "1.2.0"
55
authors = ["Ryan Lopopolo <[email protected]>", "x-hgg-x"]
66
license = "MIT"
77
edition = "2021"
8-
rust-version = "1.76.0"
8+
rust-version = "1.84.0"
99
readme = "README.md"
1010
repository = "https://github.com/artichoke/strftime-ruby"
1111
documentation = "https://docs.rs/strftime-ruby"
1212
homepage = "https://github.com/artichoke/strftime-ruby"
1313
description = "Ruby `Time#strftime` parser and formatter"
1414
keywords = ["ruby", "strftime", "time"]
15-
categories = ["date-and-time", "no-std", "no-std::no-alloc", "parser-implementations", "value-formatting"]
15+
categories = [
16+
"date-and-time",
17+
"no-std",
18+
"no-std::no-alloc",
19+
"parser-implementations",
20+
"value-formatting",
21+
]
1622
include = ["/src/**/*", "/tests/**/*", "/LICENSE", "/README.md"]
1723

1824
[lib]

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Add this to your `Cargo.toml`:
3737
3838
```toml
3939
[dependencies]
40-
strftime-ruby = "1.1.0"
40+
strftime-ruby = "1.2.0"
4141
```
4242
4343
## Crate features
@@ -64,7 +64,7 @@ All features are enabled by default.
6464

6565
### Minimum Supported Rust Version
6666

67-
This crate requires at least Rust 1.76.0. This version can be bumped in minor
67+
This crate requires at least Rust 1.84.0. This version can be bumped in minor
6868
releases.
6969

7070
## License

0 commit comments

Comments
 (0)