Skip to content

Commit

Permalink
feat: refactor mailer to use enum instead of feature-flag based compi…
Browse files Browse the repository at this point in the history
…lation
  • Loading branch information
kahlstrm committed Jan 17, 2025
1 parent bf609c8 commit 7050441
Show file tree
Hide file tree
Showing 9 changed files with 332 additions and 120 deletions.
224 changes: 223 additions & 1 deletion Cargo.lock

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

4 changes: 1 addition & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ authors = ["Luukas Pörtfors <lajp@iki.fi>"]
lto = true

[features]
default = ["email"]
system_fonts = ["dep:fontdb"]
email = ["dep:reqwest"]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Expand All @@ -31,7 +29,7 @@ garde = "0.17.0"
iban_validate = "4.0.1"
lopdf = { git = "https://github.com/J-F-Liu/lopdf.git", rev = "7f24a1c3ebc42470a37b4315b843331e4f81cdcd" }
regex = "1.10.6"
reqwest = { version = "0.12.5", default-features = false, features = ["multipart", "rustls-tls"], optional = true }
reqwest = { version = "0.12.5", features = ["multipart", "rustls-tls"] }
serde = "1.0.195"
serde_derive = "1.0.195"
serde_json = "1.0.111"
Expand Down
Loading

0 comments on commit 7050441

Please sign in to comment.