Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
python-version: "3.12"
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master
with:
toolchain: "1.83"
toolchain: stable
components: rustfmt, clippy
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1

Expand Down Expand Up @@ -74,8 +74,9 @@ jobs:
# against any dependency should fail the build and gate the PR rather than pass
# silently. (It was previously advisory only because the stack was stale and a
# fresh advisory against a pinned dep would have blocked unrelated PRs.)
# cargo-audit needs a newer rustc than the repo's pinned 1.83, so the job runs
# on stable via RUSTUP_TOOLCHAIN (overrides the rust-toolchain file).
# The rust-toolchain file tracks `stable` and the MSRV (1.83) is declared via
# `rust-version` in Cargo.toml; this job sets RUSTUP_TOOLCHAIN=stable explicitly
# so cargo-audit always builds against current stable regardless of that file.
#
# cargo-audit is `cargo install`ed from source (~3 min — previously the
# slowest job by far). The compiled binary is cached and keyed on the pinned
Expand Down Expand Up @@ -135,7 +136,7 @@ jobs:
cache: pip
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master
with:
toolchain: "1.83"
toolchain: stable
# Cache the cargo registry and build artifacts so `make install` reuses
# compiled crates across runs instead of rebuilding from scratch (#47).
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
Expand Down Expand Up @@ -168,7 +169,7 @@ jobs:
cache: pip
- uses: dtolnay/rust-toolchain@3c5f7ea28cd621ae0bf5283f0e981fb97b8a7af9 # master
with:
toolchain: "1.83"
toolchain: stable
# Cache the cargo registry and build artifacts so `make install` reuses
# compiled crates across runs instead of rebuilding from scratch (#47).
- uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
name = "fast_mail_parser"
description = "Very fast Python library for .eml files parsing."
edition = "2021"
rust-version = "1.83"
version = "0.3.0"
authors = ["Andrii Sokyrko <wartwvister@gmail.com>"]
readme = "Readme.md"
Expand Down Expand Up @@ -29,7 +30,7 @@ path = "src/fast_mail_parser.rs"
crate-type = ["cdylib"]

[dependencies]
mailparse = "0.15.0"
mailparse = "0.16.1"
pyo3 = "0.29"

[features]
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.83
stable
Loading