url-search-params

`url-search-params` provides ability to create search params (query string) from HashMap and vice versa.

https://github.com/bohdaq/url-search-params

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.6%) to scientific vocabulary

Keywords

parser query rust url
Last synced: 4 months ago · JSON representation ·

Repository

`url-search-params` provides ability to create search params (query string) from HashMap and vice versa.

Basic Info
  • Host: GitHub
  • Owner: bohdaq
  • License: other
  • Language: Rust
  • Default Branch: main
  • Homepage:
  • Size: 31.3 KB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 7
Topics
parser query rust url
Created over 3 years ago · Last pushed over 2 years ago
Metadata Files
Readme Contributing License Citation

README.md

Welcome to url-search-params!

url-search-params provides the ability to create search params from HashMap and vice versa.

In URL (web address) search params correspond to query string.

Keep in mind it works with the query string part of the URL, it is not intended to work on the whole URL by design. As per specification, the question mark ? URL delimiter is not part of a query string.

Also hash mark # url delimiter and fragment part of URL is not the parts of a query string. In practice, it means, the fragment and preceding hash mark won't be sent in a request to a server.

Features

  1. Convert given string into a HashMap containing query string parameters as key-value pairs
  2. Convert given HashMap into a query string

Configuration

No additional configuration required.

Demo

Tests are available in the repository.

Documentation

Public functions definitions and usage can be found at git repository.

Build

If you want to build url-search-params on your own, make sure you have Rust installed.

$ cargo build

Test

If you want to test url-search-params.

$ cargo test

Community

Contact me on Discord where you can ask questions and share ideas. Follow the Rust code of conduct.

Donations

If you appreciate my work and want to support it, feel free to do it via PayPal.

Owner

  • Name: Bohdan Tsap
  • Login: bohdaq
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.0.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Tsap
    given-names: Bohdan
    orcid: https://orcid.org/0000-0002-5221-5607
    email: bohdan.tsap@tutanota.com
title: "url-search-params"
version: 11.0.0
doi: 10.5281/zenodo.7924390
date-released: 2023-05-11
url: "https://github.com/bohdaq/url-search-params"

GitHub Events

Total
Last Year

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 17
  • Total Committers: 1
  • Avg Commits per committer: 17.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 17
  • Committers: 1
  • Avg Commits per committer: 17.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Bohdan Tsap b****p@t****m 17
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads:
    • cargo 29,681 total
  • Total dependent packages: 3
  • Total dependent repositories: 1
  • Total versions: 7
  • Total maintainers: 1
crates.io: url-search-params

url-search-params provides the ability to create search params from HashMap and vice versa.

  • Versions: 7
  • Dependent Packages: 3
  • Dependent Repositories: 1
  • Downloads: 29,681 Total
Rankings
Dependent packages count: 9.2%
Dependent repos count: 16.7%
Average: 30.9%
Downloads: 31.7%
Forks count: 40.7%
Stargazers count: 56.0%
Maintainers (1)
Last synced: 4 months ago

Dependencies

Cargo.toml cargo