Expand description
This crate is responsible for providing tools to access and modify information about spf records.
Provides methods for building spf records programmatically.
For a list of supported Modifiers and Mechanism. See Kind
This crate is able to deconstruct v=spf1 and spf2.0 records.
§Abilities:
- Check and Set Spf record version. See:
Spf Versions - Check and Create Spf Mechanism/Modifiers:
§Feature Flags:
warn-dns(Disabled by default.)- This feature only applies to the Spf Parser and only warns of possible problems.
strict-dns(Disabled by default.)
This enables syntactical checking of Domain Names.- When enabled it changes the behaviour of
FromStrforMechanism<String>andParsedMechanism. By defaultMechanism<String>’srrdatais not checked.
- When enabled it changes the behaviour of
serde(Disabled by default.)
Modules§
- This module contains the tools and functions to dealing with Mechanisms found within an Spf DNS record.
Structs§
- The definition of the Spf struct which contains all information related a single SPF record.
Enums§
- A list of expected possible errors for SPF records.