Crates.io | htsget-http |
lib.rs | htsget-http |
version | 0.5.1 |
source | src |
created_at | 2023-01-06 05:36:30.136246 |
updated_at | 2024-10-17 01:18:27.492777 |
description | Crate for handling HTTP in htsget-rs. |
homepage | https://github.com/umccr/htsget-rs/blob/main/htsget-http/README.md |
repository | https://github.com/umccr/htsget-rs |
max_upload_size | |
id | 752093 |
size | 44,033 |
Framework independent code for handling HTTP in htsget-rs.
This crate handles all the framework independent code for htsget-rs, it:
There is no need to interact with this crate for running htsget-rs.
This crate is useful for implementing additional framework dependent versions of the htsget-rs server.
For example, htsget-rs could be written using another framework such as warp. This crate provides functions
like get
, post
and get_service_info_json
for this purpose.
These functions take query and endpoint information, and process it using htsget-search to return JSON HTTP responses.
This crate has the following features:
s3-storage
: used to enable S3Storage
functionality.url-storage
: used to enable UrlStorage
functionality.experimental
: used to enable experimental features that aren't necessarily part of the htsget spec, such as Crypt4GH support through C4GHStorage
.This project is licensed under the MIT license.