| Crates.io | auris |
| lib.rs | auris |
| version | 0.1.4 |
| created_at | 2020-04-11 02:09:58.27852+00 |
| updated_at | 2025-11-26 06:24:38.129319+00 |
| description | A simple URI parser |
| homepage | |
| repository | |
| max_upload_size | |
| id | 228517 |
| size | 58,525 |
rfc2396 & rfc3986 compliance foo://example.com:8042/over/there?name=ferret#nose
\_/ \______________/\_________/ \_________/ \__/
| | | | |
scheme authority path query fragment
use auris::URI;
"postgres://user:password@host".parse::<URI<String>>();
"https://crates.io/crates/auris".parse::<URI<String>>();
We also parse query strings into HashMaps:
"postgres://user:password@example.com/db?replication=true".parse::<URI<String>>();
In the case of duplicated query string tags the last one wins:
"scheme://host/path?a=1&a=2".parse::<URI<String>>();