23 releases
new 0.5.1 | Oct 17, 2024 |
---|---|
0.4.17 | Sep 3, 2024 |
0.4.16 | May 22, 2024 |
0.4.14 | Jan 2, 2024 |
0.1.4 | Feb 24, 2023 |
#818 in Network programming
218 downloads per month
425KB
9K
SLoC
htsget-lambda
Framework dependent code for a cloud-based instance of htsget-rs, using AWS Lambda.
Overview
This crate is used for running a cloud-based instance of htsget-rs. It:
- Uses the Rust Runtime for AWS Lambda to produce a Lambda function which can be deployed to AWS.
- It is written as a single Lambda function which uses htsget-http to respond to queries.
Usage
For running htsget-rs as an application
This crate can be deployed to AWS as a Lambda function, or interacted with locally using cargo-lambda. See deploy for more details. Note, this crate does not use any configuration relating to the local data server. CORS configuration uses values from the ticket server config. See htsget-config for more information about configuration.
See htsget-search for details on how to structure files.
As a library
There is no need to interact with this crate as a library. Note that the Lambda function itself doesn't have any
library code, and it instead uses htsget-axum
. Please use that crate for functionality related to routing.
Feature flags
This crate has the following features:
s3-storage
: used to enableS3Storage
functionality.url-storage
: used to enableUrlStorage
functionality.experimental
: used to enable experimental features that aren't necessarily part of the htsget spec, such as Crypt4GH support throughC4GHStorage
.
License
This project is licensed under the MIT license.
Dependencies
~38–61MB
~1M SLoC