- Detect X-WS-* headers (e.g., X-WS-Attachment-UUID) as MIME headers to ensure attachment headers like Content-Type and Content-Disposition get normalized properly - Add test case for attachment header normalization - Bump version to 0.5.0 The normalization fixes malformed continuation lines in attachment headers generated by Infomaniak webmail, where lines like "name=file.pdf" are missing the required leading whitespace.
25 lines
425 B
TOML
25 lines
425 B
TOML
[package]
|
|
name = "rs_pop_imap_importer"
|
|
version = "0.5.0"
|
|
edition = "2024"
|
|
|
|
[lib]
|
|
name = "rs_pop_imap_importer"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "pop-to-imap"
|
|
path = "src/main.rs"
|
|
|
|
[[bin]]
|
|
name = "normalize-imap"
|
|
path = "src/bin/normalize_imap.rs"
|
|
|
|
[dependencies]
|
|
clap = { version = "4.5.53", features = ["derive"] }
|
|
dotenvy = "0.15.7"
|
|
imap = "2.4.1"
|
|
imap-proto = "0.16.6"
|
|
native-tls = "0.2.14"
|
|
rust-pop3-client = "0.2.2"
|