uri-builder 0.1.0

Simple URI builder library
Documentation
  • Coverage
  • 91.67%
    11 out of 12 items documented1 out of 11 items with examples
  • Size
  • Source code size: 8.5 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 329.02 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 11s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • dikuchan

URI Builder

Simple URI builder library. Provides setter fields according to the URI specification.

Example

use uri_builder::URI;

let uri: String = URI::new("http")
    .host("github")
    .path_vec(vec!["dikuchan", "repos"].as_ref())
    .query("page", 1)
    .build();

The above example results in https://github.com/dikuchan/repos?page=1.