Crates.io | parse-dat-url |
lib.rs | parse-dat-url |
version | 0.1.0 |
source | src |
created_at | 2019-08-19 15:33:29.817962 |
updated_at | 2019-08-19 15:33:29.817962 |
description | url parser to support versioned dat URLs |
homepage | |
repository | https://github.com/bltavares/parse-dat-url |
max_upload_size | |
id | 158120 |
size | 73,505 |
url parser to support versioned dat URLs
Useful links:
[dependencies]
parse-dat-url = "0.1.0"
It is possible to avoid pulling serde
as a dependency, by disabling default features:
[dependencies]
parse-dat-url = { version = "0.1.0", default-features = false }
use parse_dat_url::DatUrl;
fn main() {
let url = DatUrl::parse("dat://584faa05d394190ab1a3f0240607f9bf2b7e2bd9968830a11cf77db0cea36a21+v1.0.0/path/to/file.txt");
}
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.