The published mail-parser 0.11.9, unchanged, in vendor/mail-parser and patched in with [patch.crates-io], so the next commit can change how it parses. Its sample messages, tests and examples are left out, with the manifest targets that named them; VENDORED.md lists what was taken. Test: the workspace builds against the vendored copy; Cargo.lock now takes mail-parser from the path.
94 lines
1.7 KiB
TOML
94 lines
1.7 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2024"
|
|
name = "mail-parser"
|
|
version = "0.11.9"
|
|
authors = ["Stalwart Labs <[email protected]>"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "Fast and robust e-mail parsing library for Rust"
|
|
homepage = "https://github.com/stalwartlabs/mail-parser"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"email",
|
|
"mail",
|
|
"parser",
|
|
"parse",
|
|
"mime",
|
|
]
|
|
categories = [
|
|
"email",
|
|
"parser-implementations",
|
|
]
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/stalwartlabs/mail-parser"
|
|
resolver = "2"
|
|
|
|
[features]
|
|
base64_slice = ["dep:memchr"]
|
|
default = []
|
|
full_encoding = ["encoding_rs"]
|
|
rkyv = ["dep:rkyv"]
|
|
serde = ["dep:serde"]
|
|
|
|
[lib]
|
|
name = "mail_parser"
|
|
path = "src/lib.rs"
|
|
doctest = false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[dependencies.encoding_rs]
|
|
version = "0.8"
|
|
optional = true
|
|
|
|
[dependencies.hashify]
|
|
version = "0.2"
|
|
|
|
[dependencies.memchr]
|
|
version = "2.7"
|
|
optional = true
|
|
|
|
[dependencies.rkyv]
|
|
version = "0.8"
|
|
optional = true
|
|
|
|
[dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
optional = true
|
|
|
|
[dev-dependencies.bincode]
|
|
version = "1.3.3"
|
|
|
|
[dev-dependencies.chrono]
|
|
version = "0.4"
|
|
|
|
[dev-dependencies.serde]
|
|
version = "1.0"
|
|
features = ["derive"]
|
|
|
|
[dev-dependencies.serde_json]
|
|
version = "1.0"
|
|
|
|
[profile.bench]
|
|
debug = 2
|