I am happy to announce that I have released decon-spf version 0.2.1 This release contains a number of improvements and a new feature.
Improvements:
- Regex and pattern matching for the mechanism strings.
- Would previously fail to match on some patterns.
- Hand coded struct to string replaced with Display trait implementation.
- Improved Error handling and reporting.
- Implement FromStr trait for
Mechanism<String>
andMechanism<IpNetwork
structs.
Additions
- Implemented
enum ParsedMechanism
. With FromStr. This provides an overall parser that is able to handle all mechanism variants. - Ability to create a full Spf struct programmatically.
Resources
You can access the crate through crates.io at decon-spf