newsletter-to-web/bin/Cargo.toml
Jacob Kiers abf4c787ab Manually remove images instead of parsing
Instead of using all kinds of difficult libraries, just replace the
string "src" with "data-source". This covers most cases of removing
images.

This also removes the previously inlined kuchiki and sanitize-html-rs
libraries.

Signed-off-by: Jacob Kiers <jacob@jacobkiers.net>
2022-08-02 23:19:24 +02:00

15 lines
518 B
TOML

[package]
name = "newsletter-to-web"
version = "0.1.0"
edition = "2021"
description = "Converts email newsletters to static HTML files"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
base16ct = { version = "^0.1.0", features = [ "alloc" ] }
imap = { version = "^2.4.1", default-features = false }
mail-parser = "^0.5.0"
rustls-connector = { version = "^0.16.1", default-features = false, features = [ "webpki-roots-certs", "quic" ] }
sha2 = "^0.10.2"