aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Update parsing of PhishTank data files.HEADmastermainHarald Eilertsen2024-07-081-15/+1
| | | | | | | | | - Remove special handling of the `phish_id` field in the Phish struct. The source json files now represents the id as a number. - Remove `country` field from PhishDetails. No longer supplied in the json data set. - Rename `verified_time` to `verification_time` in the Phish struct, to match the names used in the data set.
* Create a unix socket server to check URLs.Harald Eilertsen2019-05-081-1/+7
| | | | | Set up a simple unix domain socket server to handle requests to check if URLs are phishes or not.
* Help deserializer turn numbers and bools into their proper types.Harald Eilertsen2019-05-081-6/+41
| | | | | | | The PhishTank dataset encodes the numeric `phish_id` as a string, and boolean values as "yes" or "no". The default json deserializer from serde isn't able to deserialize these values into their proper types, so we have to helo it a bit.
* Initial commit.Harald Eilertsen2019-05-071-0/+54