1018 B · text History de2cabc

Vendored: mail-prism-client

A copy of mail-prism’s Rust client (clients/rust in the mail-prism repository), used by recourse to send mail and sync its templates (mail_prism/, see src/mailer.rs).

Source https://gg.neiam.co/neiam/mail-prism.git, clients/rust
Commit fbcde6c28311b0a9f327ddd2f0fa303f8a9a8e67

Why vendored and not a git dependency: the mail-prism repository is private, so a git dependency would need forge credentials in every build of this workspace (the Dockerfile and CI included). This is the same arrangement as jupiter-trojan’s crates/mail-prism-client.

src/ is copied verbatim; don’t edit it here. Cargo.toml is the upstream one with its workspace = true dependencies written out as versions.

Updating

M=~/Development/projects/mail-prism
cp $M/clients/rust/src/*.rs crates/mail-prism-client/src/
git -C $M rev-parse HEAD     # put it in the table above

and compare $M/clients/rust/Cargo.toml with this one for new dependencies.