mirror of
https://github.com/stalwartlabs/mail-parser.git
synced 2026-11-28 16:01:16 +00:00
35 lines
1005 B
TOML
35 lines
1005 B
TOML
[package]
|
|
name = "mail-parser"
|
|
description = "Fast and robust e-mail parsing library for Rust"
|
|
version = "0.8.1"
|
|
edition = "2018"
|
|
authors = [ "Stalwart Labs <hello@stalw.art>"]
|
|
license = "Apache-2.0 OR MIT"
|
|
repository = "https://github.com/stalwartlabs/mail-parser"
|
|
homepage = "https://github.com/stalwartlabs/mail-parser"
|
|
keywords = ["email", "mime", "mail", "parser", "e-mail"]
|
|
categories = ["email", "parser-implementations"]
|
|
readme = "README.md"
|
|
resolver = "2"
|
|
|
|
[dependencies]
|
|
encoding_rs = { version="0.8", optional=true }
|
|
serde = { version = "1.0", features = ["derive"], optional=true }
|
|
|
|
[dev-dependencies]
|
|
mail-parser = { path = ".", features = ["serde_support", "full_encoding"] }
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
serde_yaml = "0.8" # Version 0.9 fails to parse certain inputs
|
|
serde_json = "1.0"
|
|
bincode = "1.3.3"
|
|
chrono = "0.4"
|
|
|
|
[features]
|
|
default = ["full_encoding"]
|
|
full_encoding = ["encoding_rs"]
|
|
serde_support = ["serde"]
|
|
ludicrous_mode = []
|
|
|
|
[profile.bench]
|
|
debug = true
|