aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
AgeCommit message (Collapse)Author
2020-10-12Clean up Uri::parse_path and make it functionalRichard Walters
2020-10-12Refactoring: collect path functionallyRichard Walters
2020-10-12Make Uri::check_scheme more functionalRichard Walters
2020-10-12clean up todosRichard Walters
2020-10-12Make Uri::decode_element more functionalRichard Walters
2020-10-11Fix normalize test and corner case bug with path_as_stringRichard Walters
2020-10-10Remove explicit test vector array length declarationsRichard Walters
This method was proposed by @Serayen.
2020-10-09Use named_tuple! to simplify test vector declarationsRichard Walters
2020-10-09Use thiserror to implement Error/Display/From traits for usRichard Walters
2020-10-09Minor whitespace/comment cleanupRichard Walters
2020-10-09Make Rust errors a bit more expressiveRichard Walters
2020-10-09Rust implementation refactoringRichard Walters
* Use more expressive errors, especially in address parsing. * Use match in some cases where we were using if/else. * Split IPv6 address parsing tests up between good/base cases.
2020-10-09Implement std::error::Error for custom error typesRichard Walters
2020-10-09Remove unnecessary check in IPv6 parsingRichard Walters
It's not possible to have encountered a double-colon when in the COLON_BUT_NO_GROUPS_YET state.
2020-10-09Slight improvement to name of a state in IPv6 address parsingRichard Walters
AFTER_COLON_EXPECT_GROUP_OR_IPV4 -> AFTER_DOUBLE_COLON
2020-10-09Fix bug in parsing IPv6 addressesRichard Walters
Fix bug where an IPv6 address ending in a double-colon was not considered valid (it was being considered as truncated).
2020-10-09Fix bug in IPv6 address parsingRichard Walters
Fix bug where IPv6 address ending in a group with only digits followed by a double-colon would not get parsed correctly
2020-10-09Dismiss some todosRichard Walters
2020-10-07(Rust) Uri::is_path_absolute: match against whole path, not first segmentRichard Walters
2020-10-07(Rust) combine match with if/else in Uri::validate_ipv4_addressRichard Walters
2020-10-07(Rust) dismiss some todosRichard Walters
2020-10-07(Rust) Add Uri::path_as_string convenience functionRichard Walters
2020-10-07(Rust) Make setting scheme fallible by checking for invalid charactersRichard Walters
2020-10-07Finish initial port of library to RustRichard Walters
2020-10-06Work in progress porting to RustRichard Walters
2020-10-06Work in progress porting implementation to RustRichard Walters
2020-10-05Add tests for parsing hosts ending in dotRichard Walters
2020-09-27No need to use try_from() when setting parts of a URIRichard Walters
2020-09-27Finish porting unit tests to RustRichard Walters
2020-09-27Work in progress porting test cases to Rust, implemented by uriparseRichard Walters