htsget-config 0.23.0

Used to configure htsget-rs by using a config file or reading environment variables.
Documentation
1
2
3
4
5
6
7
8
# An example of running htsget-rs.
# Run with `cargo run -p htsget-axum --all-features -- --config htsget-config/docs/examples/basic.toml`

ticket_server.addr = "127.0.0.1:8080"
data_server.addr = "127.0.0.1:8081"

# Serve data locally from the `data` directory or from an S3 bucket called `bucket` depending on the prefix.
locations = [ { location = "file://data", prefix = "file_prefix" }, { location = "s3://bucket", prefix = "s3_prefix" } ]