Commit Graph

9 Commits

Author SHA1 Message Date
William Batista d83f888da7
Library now panics! on invalid magnet url
Another helpful redditor warned me about the dangers of not validating
that the URL given is a magnet url. Unfortuanetly, I can't just change
everything to use Options and Errors, so I'm making the fix of having
the library just panic instead, since that would make it still
backwards compatible. This will be changed in version 2.0.0
2021-02-17 10:15:02 -05:00
William Batista e452658bc8
Minor documentation improvements
I got some feedback from Redditors, and addd some information as to what
a magnet url is, and why a magnet-url parser is useful
2021-02-17 08:35:23 -05:00
William Batista d08713b412
More documentation bug fixes
You can't use dashes in variable names(?)
2021-02-16 15:18:56 -05:00
William Batista 03f4cf1741
Fixed documentation examples
I put one colon instead of two
2021-02-16 15:13:13 -05:00
William Batista 134fcc5b50
Added build status from Travis CI
There's been a lot of commits because of the mistakes I've made on this
repo. This should be the last one.
2021-02-16 15:10:06 -05:00
William Batista 41164ac5ba
Renamed crate to magnet_url
I didn't realize you can't import crates with a dash in their name :(
2021-02-16 14:37:31 -05:00
William Batista e4e1d3283f
Renamed crate in documentation
I'm an idiot and forgot to rename the library in the documentation
2021-02-16 14:07:38 -05:00
William Batista 0b632edb9a
Added Magnet Parsing Code
The ode basically uses a ton of regex checks to find specific parts of the magnet url, and then chops it up into the Magnet struct.
2021-02-16 13:45:20 -05:00
William Batista ab009683c2
Initial commit 2021-02-15 18:22:02 -05:00