parse-dat-url

Crates.ioparse-dat-url
lib.rsparse-dat-url
version0.1.0
sourcesrc
created_at2019-08-19 15:33:29.817962
updated_at2019-08-19 15:33:29.817962
descriptionurl parser to support versioned dat URLs
homepage
repositoryhttps://github.com/bltavares/parse-dat-url
max_upload_size
id158120
size73,505
crates.io publishers (github:artichoke:crates-io-publishers)

documentation

https://docs.rs/parse-dat-url

README

parse-dat-url

url parser to support versioned dat URLs

Useful links:

Usage

[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 }

Example

use parse_dat_url::DatUrl;

fn main() {
    let url = DatUrl::parse("dat://584faa05d394190ab1a3f0240607f9bf2b7e2bd9968830a11cf77db0cea36a21+v1.0.0/path/to/file.txt");
}

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 25

cargo fmt