Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
1d2849e
Initial commit of email.rs using lettre
trkelly23 Mar 15, 2025
252cebe
Initial commit of Add email support using lettre crate
trkelly23 Mar 15, 2025
fc1fb9f
Added the message printout if debug mode is enabled
trkelly23 Mar 16, 2025
d64980f
Added a test and deferred the extra headers and attachment features.
trkelly23 Mar 18, 2025
4edd6d0
Added tests for config and send_email(ignore).
trkelly23 Mar 19, 2025
dbbf50f
Fixed the email example and removed minor version from cargo.
trkelly23 Mar 19, 2025
0587340
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] Mar 20, 2025
a1a25da
Fixed the email example and removed minor version from cargo.
trkelly23 Mar 15, 2025
84eb659
Merge branch 'feat-add-email-support' of https://github.com/trkelly23…
trkelly23 Mar 20, 2025
c964e45
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] Mar 20, 2025
a13552e
Implemented a trait impl for the EmailBackend
trkelly23 Mar 20, 2025
6ac6e92
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] Mar 20, 2025
d7ac14a
Refactor to insure multiple email backends could be added. Mocking a…
trkelly23 Mar 28, 2025
4ee5c6a
Pushing lock since there seems to be a conflict
trkelly23 Mar 28, 2025
49775cd
Merge branch 'master' into feat-add-email-support
trkelly23 Mar 28, 2025
553c2e9
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] Mar 28, 2025
cb8093a
Adding the reworked smtp implementation and NOT working example for h…
trkelly23 May 8, 2025
749ef05
chore: cargo fmt
seqre May 15, 2025
3a042af
fix bootstrapper
seqre May 15, 2025
84c111d
chore: merge master
seqre May 15, 2025
ea8e2e0
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] May 15, 2025
fa4f337
Merge branch 'master' into feat-add-email-support
m4tx May 15, 2025
6cc9cb6
Merge branch 'master' into feat-add-email-support
seqre May 15, 2025
83652f1
Tested send-email example and cleaned up code
trkelly23 May 28, 2025
33e49c2
Merge branch 'master' into feat-add-email-support
trkelly23 May 30, 2025
587444d
Merge remote-tracking branch 'upstream/master' into trkelly23-fix-email
ElijahAhianyo Dec 1, 2025
bd0f3be
add cargo lock
ElijahAhianyo Dec 1, 2025
88eaecc
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] Dec 1, 2025
7bd01a8
non working proof of concept
ElijahAhianyo Dec 4, 2025
01fa369
some small refinement
ElijahAhianyo Dec 4, 2025
ec22d95
chore(pre-commit.ci): auto fixes from pre-commit hooks
pre-commit-ci[bot] Dec 4, 2025
920ea57
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo Dec 8, 2025
1cccefd
okay, we have a working version!
ElijahAhianyo Dec 8, 2025
e8dc749
improve the API a bit
ElijahAhianyo Dec 8, 2025
c70b70d
docs improv best efforts
ElijahAhianyo Dec 9, 2025
a7afb37
initial tests
ElijahAhianyo Dec 10, 2025
1390e94
pre-commit fix and email example overhaul
ElijahAhianyo Dec 16, 2025
b931067
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo Dec 16, 2025
946f07c
some CI fixes
ElijahAhianyo Dec 16, 2025
9e2e6ae
try changing windows linker
ElijahAhianyo Dec 17, 2025
24bf486
fix docs unittest
ElijahAhianyo Dec 18, 2025
d701a2a
Allow Apache 2.0 with LLVM-exception
ElijahAhianyo Dec 18, 2025
8f4f738
lets see if this fixes it for windows
ElijahAhianyo Dec 18, 2025
11afeab
cargo insta fix
ElijahAhianyo Dec 18, 2025
612aaf1
mising files?
ElijahAhianyo Dec 18, 2025
c41d976
try this
ElijahAhianyo Dec 18, 2025
221b04c
lets try debug 0 for tests
ElijahAhianyo Dec 18, 2025
07e9dbc
lets try setting symbol mangling version to v0
ElijahAhianyo Dec 19, 2025
f4af735
pin nightly version
ElijahAhianyo Dec 19, 2025
9e6754e
try adding some tests
ElijahAhianyo Dec 20, 2025
e2c6790
we need the linker change
ElijahAhianyo Dec 20, 2025
5b1b577
small test for config
ElijahAhianyo Dec 20, 2025
b460806
increase cov a bit
ElijahAhianyo Dec 20, 2025
92baad4
some improvements including docs
ElijahAhianyo Dec 21, 2025
572b168
doc fix
ElijahAhianyo Dec 21, 2025
8154b20
some minor fixes
ElijahAhianyo Dec 21, 2025
b5da565
remove profile test
ElijahAhianyo Dec 23, 2025
ab7f4e5
Merge branch 'master' into elijah/trkelly23-fix-email
m4tx Dec 24, 2025
9019d55
bump askama
m4tx Dec 24, 2025
4fbdf39
address most of the PR comments
ElijahAhianyo Dec 25, 2025
71c516e
use tokio-rustls
ElijahAhianyo Dec 25, 2025
d550869
using tokio-rustls needs ring feature
ElijahAhianyo Dec 25, 2025
9e539ec
whitelist licenses required by lettre
ElijahAhianyo Dec 25, 2025
0e44378
fix clause
ElijahAhianyo Dec 25, 2025
2420300
not sure what happened there
ElijahAhianyo Dec 25, 2025
79d5d24
apparently we need this
ElijahAhianyo Dec 25, 2025
8bc83bd
more whitelist
ElijahAhianyo Dec 25, 2025
e97aa58
test excluding examples
ElijahAhianyo Dec 29, 2025
ca5263e
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo Dec 29, 2025
90f913a
update workflow
ElijahAhianyo Dec 29, 2025
854b38c
Pin the idna version to ^1.1
m4tx Dec 30, 2025
9ca90bd
Update Cargo.lock
m4tx Dec 30, 2025
71e3c44
also pin chumsky
m4tx Dec 30, 2025
a71db21
remove the exclude examples flag from cargo hack
ElijahAhianyo Dec 31, 2025
73c83e4
introduce indirection
ElijahAhianyo Jan 3, 2026
bd2979f
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo Jan 3, 2026
8d84c7b
Apply suggestions from code review
ElijahAhianyo Jan 5, 2026
d231184
address a number of PR comments
ElijahAhianyo Jan 6, 2026
1f5d9a1
Merge branch 'master' into elijah/trkelly23-fix-email
ElijahAhianyo Jan 6, 2026
c644c9f
clippy fix
ElijahAhianyo Jan 6, 2026
3b98677
clippy fix
ElijahAhianyo Jan 6, 2026
5291ce8
small change
ElijahAhianyo Jan 6, 2026
84b6c47
address PR comments
ElijahAhianyo Jan 6, 2026
c230c52
fix CI error
ElijahAhianyo Jan 6, 2026
24e39d5
fix silly error
ElijahAhianyo Jan 6, 2026
3b1c423
insta snapshot
ElijahAhianyo Jan 6, 2026
3936515
address nit
ElijahAhianyo Jan 7, 2026
631789e
Trigger CI
ElijahAhianyo Jan 8, 2026
cc78b7e
use yaml anchors
ElijahAhianyo Jan 8, 2026
26ef6bb
that did not work
ElijahAhianyo Jan 8, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
[resolver]
incompatible-rust-versions = "fallback"

# TODO: Safe to remove once https://github.com/rust-lang/rust/issues/141626 gets resolved.
# Also, see https://github.com/cot-rs/cot/pull/419/changes#r2636869773 for more info.
[target.x86_64-pc-windows-msvc]
linker = "rust-lld"
rustflags = ["-C", "symbol-mangling-version=v0"]
18 changes: 11 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ env:
SCCACHE_GHA_ENABLED: true
RUSTC_WRAPPER: sccache

_RUST_STABLE: &rust_stable stable
# Pinning the nightly version to a "stable" version to avoid CI breakages.
_RUST_NIGHTLY: &rust_nightly nightly-2025-11-11

# See: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#concurrency.
# This will ensure that only one commit will be running tests at a time on each PR.
concurrency:
Expand Down Expand Up @@ -58,9 +62,9 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
include:
- rust: stable
version: stable
version: *rust_stable
- rust: nightly
version: nightly
version: *rust_nightly
- rust: MSRV
version: "1.88" # MSRV

Expand Down Expand Up @@ -149,7 +153,7 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
# cot_macros ui tests require nightly
toolchain: nightly
toolchain: *rust_nightly

- name: Cache Cargo registry
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -195,7 +199,7 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
# branch coverage is currently optional and requires nightly
toolchain: nightly
toolchain: *rust_nightly
components: llvm-tools-preview

- name: Reclaim disk space
Expand Down Expand Up @@ -248,7 +252,7 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
# nightly-only rustfmt settings
toolchain: nightly
toolchain: *rust_nightly
components: rustfmt

- name: Cache Cargo registry
Expand Down Expand Up @@ -299,7 +303,7 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
# the `-Z` flag is only accepted on the nightly channel of Cargo
toolchain: nightly
toolchain: *rust_nightly

- name: Cache Cargo registry
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -368,7 +372,7 @@ jobs:
uses: dtolnay/rust-toolchain@master
with:
# miri requires nightly
toolchain: nightly
toolchain: *rust_nightly
components: miri

- name: Cache Cargo registry
Expand Down
Loading
Loading