Crates.io | htsget-storage |
lib.rs | htsget-storage |
version | 0.4.3 |
created_at | 2024-08-04 23:33:24.668781+00 |
updated_at | 2025-08-21 00:36:57.88443+00 |
description | Storage interfaces and abstractions for htsget-rs. |
homepage | https://github.com/umccr/htsget-rs/blob/main/htsget-storage/README.md |
repository | https://github.com/umccr/htsget-rs |
max_upload_size | |
id | 1325358 |
size | 238,597 |
Contains storage interfaces and abstractions for htsget-rs. It:
This crate is the mechanism htsget-rs uses to fetches data from the bioinformatics files it needs to process requests. It also allows htsget-rs to create and format URL tickets correctly. It does this by providing storage layer abstractions which other crates can use to interact with data. It defines the following storage layers:
This crate is responsible for allowing the user to fetch the URL tickets returned by the ticket server. With
LocalStorage
a separate data_server
is used to serve files using HTTP. S3Storage
returns
presigned S3 URLs.
In order to use a particular storage backend for URL tickets, the proper backend should be configured using htsget-config.
This crate provides have the following features:
Storage
trait contains functions used to fetch data: get
, range_url
, head
and data_url
. The local, s3,
and url modules implement the Storage
functionality.This crate has the following features:
aws
: used to enable S3
location functionality and any other AWS features.url
: used to enable Url
location 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.