18 releases
0.4.14 | Jan 2, 2024 |
---|---|
0.4.13 | Nov 2, 2023 |
0.4.11 | Oct 24, 2023 |
0.4.6 | Jul 11, 2023 |
0.1.4 | Feb 24, 2023 |
#968 in Network programming
87 downloads per month
425KB
11K
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 shouldn't be any need to interact with this crate as a library, however some functions which deal with routing queries are exposed in the public API.
Feature flags
This crate has the following features:
s3-storage
: used to enableS3Storage
functionality.url-storage
: used to enableUrlStorage
functionality.
License
This project is licensed under the MIT license.
Dependencies
~35–56MB
~1M SLoC