Hi,
In this article, I will walk through how I re-implemented the enum
for Qualifier
and MechanismKind
. I will also deliver a working asMechanism()
function. The diff is here
Hi,
In this article, I will walk through how I re-implemented the enum
for Qualifier
and MechanismKind
. I will also deliver a working asMechanism()
function. The diff is here
In this article I will be looking at defining the enums for Qualifier
and MechanismKind
. I will also be adding tests to ensure that the functions work as expected. Further I will implement a simple asMechanism()
as a proof of concept.
I have been working on my SPF project in Swift of late. As part of this I have started to deal with substrings. “A slice of a string” according to Apple Documentation. In dealing with this, I have found myself quite often converting substrings back to normal strings. Today we will look at how we can pass substrings directly by making our functions generic.
[Read More]Today, I will start on building out the functionality of the struct Mechanism
.
This will involve creating some tests, and basic functions.
If you have not followed my rust series on deconstructing SPF you can check it out here.
[Read More]In my previous series “Learning Rust”. I decided to attempt to learn some fairly basic rust concepts and constructs by working on a fairly simple project. This seemed to go fairly well. So I am now going to attempt to work on the same project, but this time, using Swift.
[Read More]This is a quick followup on my progress in deconstructing SPF using Rust.
Today I was able to implement both A
and MX
mechanisms.
As I mentioned in my previous article Deconstructing SPF Records with Rust. There is a case for using generics
given the amount of overlap between the different mechanisms.
Hi. If you have visited my blog before you might have seen my series on using the trust-dns-resolver crate. As part of that series I looked at querying DNS TXT records. During the process I was reminded of SPF records. Something I used to deal with in a previous position. And this got me to thinking about using SPF records as a way to learn more about working with rust.
[Read More]