Skip to content
Open
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
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
with:
subject-path: "wheels-*/*"
- name: Publish to PyPI
if: "startsWith(github.ref, 'refs/tags/')"
if: ${{ startsWith(github.ref, 'refs/tags/') }}
uses: PyO3/maturin-action@v1
env:
MATURIN_USERNAME: ${{ secrets.PYPI_USERNAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", 3.11, 3.12]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
179 changes: 40 additions & 139 deletions Cargo.lock

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

49 changes: 24 additions & 25 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,36 +1,35 @@
[package]
name = "fast_mail_parser"
description = "Very fast Python library for .eml files parsing."
edition = "2021"
version = "0.3.0"
authors = ["Andrii Sokyrko <wartwvister@gmail.com>"]
readme = "Readme.md"
license-file = "LICENSE"
homepage = "https://github.com/namecheap/fast_mail_parser"
repository = "https://github.com/namecheap/fast_mail_parser"
keywords = ["parser", "email", "rfc822", "mime", "maildir"]
categories = ["email", "parsing"]
publish = false
authors = [ "Andrii Sokyrko <wartwvister@gmail.com>" ]
categories = [ "email", "parsing" ]
description = "Very fast Python library for .eml files parsing."
edition = "2021"
homepage = "https://github.com/namecheap/fast_mail_parser"
keywords = [ "email", "maildir", "mime", "parser", "rfc822" ]
license-file = "LICENSE"
name = "fast_mail_parser"
publish = false
readme = "Readme.md"
repository = "https://github.com/namecheap/fast_mail_parser"
version = "0.4.0"

[profile.dev]
opt-level = 0
debug = true
debug = true
opt-level = 0

[profile.release]
opt-level = 3
debug = false
strip = "debuginfo"
lto = true
codegen-units = 1
codegen-units = 1
debug = false
lto = true
opt-level = 3
strip = "debuginfo"

[lib]
name = "fast_mail_parser"
path = "src/fast_mail_parser.rs"
crate-type = ["cdylib"]
crate-type = [ "cdylib" ]
name = "_core"

[dependencies]
mailparse = "0.15.0"
pyo3 = "0.16.6"
mailparse = "0.15.0"
pyo3 = { features = [ "extension-module" ], version = "0.22.0" }

[features]
default = ["pyo3/extension-module"]
default = [ "pyo3/extension-module" ]
Loading